17.6k views
5 votes
. What is an "anti-pattern"?

Give an example of an anti-pattern and a brief summary of what it is. (Do not use Singleton as an example).

User Vinton
by
6.5k points

1 Answer

6 votes

Step-by-step explanation:

Anti - pattern -

Anti-pattern are the software development design patterns that are considered bad programming practices .

For example , an anti-pattern designing might involve making a god object which performs multiple functionalities, and the better design pattern would be to separate out each function into different objects.

User Webduvet
by
6.7k points