Wednesday, January 11, 2006

Singleton Considered Stupid

Thanks to Stevey for expressing my thoughts on Singletons.

Update: This is really fun. Read it all.

1 Comments:

Anonymous Anonymous said...

I read up through the part about a Singleton still being a Singleton if you use all static methods, which in a sense is true - its 6 of one, 1/2 dozen of another.

Technically, though, I believe this "all static methods" approach is called Monostate, at least that's what I learned when I learned the Singleton pattern.

Cheers,
Brice Ruth

Wed Jan 11, 04:39:00 PM GMT+2  

Post a Comment

<< Home