KISS is a pattern and the anti pattern of KISS is
- Using algorithms that are more complex than needed.
- Adding extra unneeded layers/folders.
- Doing something more general than needed, adding extra complexity as a cost. Maybe you think you will need to use a function later so the function needs to be that general. The right approach would be to adapt to that when needed or to split the function in two, one for each purpose.
YAGNI is a patter and the anti pattern of YAGNI is
- The concept of saving code for later use. Could be code snippets that will never run. Or maybe the code is put inside a comment.
- Code that is a result of over generalization, in the belief that you "some day" will use a function in an alternate way.
The concept of creating/initializing/opening a resource R, such as a dialog/file/other and if some condition C is met destroy/deinitialize/closing R without ever using it.
The alternative would be to check for C before creating R in the first place.