Antipatterns
Definition
An anti-pattern is something that lots of people write often in their code, but that is BAD and should NOT BE DONE.
Sometimes the code might even “work” in the sense that it “computes the correct result”, but it is hard to read for other programmers, or difficult to maintain, or might lead to later bugs or errors. Other times it is just wasteful, in that it takes up space in the code for no good reason.
And sometimes, it is just code that might “seem right”, but is just plain wrong or at best, a questionable design choice.