The F'in Singleton Pattern

Published July 09, 2005
Advertisement
The F'in Singleton Pattern is the one considered the universal OOP solution to all design problems.

So there, I coined it :P
0 likes 3 comments

Comments

Saruman
The F'in Singleton Pattern is the one considered the universal HACK to all design problems.
July 09, 2005 02:19 PM
Will F
I think I have a decent understanding of singletons, but I tend to view them as a slightly better way to make things available at global scope.

Maybe i'm wrong, but I usually avoid singletons unless I have to use them, or if they make my code noticably less complex.
July 09, 2005 03:50 PM
Seriema
Yeah, just be carefull though. What might seem as "making it less complex" can turn out to be just the opposite in the long run. Use it if you have no other option...
July 10, 2005 10:23 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement