Friday, September 22, 2006

Anti-Patterns

I was recently reading up on Anti-Patterns and why you shouldn't use a singleton. Wikipediea has a lot of good information on the types of things I have seen and have done over the years. I Honestly didn't know that the singleton is considered an anti-pattern...especially since it is mentioned in the Head-First-Design Patterns book and is also listed in the GOF book.

Below are some interesting Anti-Patterns.

Big Ball of Mud
Object Cesspool
Lavaflow
Singletonitis

To see the complete list go here.

0 Comments:

Post a Comment

<< Home