News for hackers. Stuff that matters.
Re:So Singletons are bad, then what? by brown9-2 on Thursday January 30, 2014 @10:18AM (#7151050)
I really loved Misko's blog back in the day, and these are the exact articles I always quote to people when they ask "why is the singleton pattern a bad thing?".
Re:So Singletons are bad, then what? by ehutch79 on Thursday January 30, 2014 @10:35AM (#7151153)
wait. isn't angular full of singletons? I mean that's what a service is in angular. I just wrote like three of them.
Re:So Singletons are bad, then what? by supermatt on Thursday January 30, 2014 @10:56AM (#7151292)
As the author would say: singletons (single instances), yes. Singletons (as in the pattern), no. In his articles, it appears that he uses the word 'singleton' to mean 'Singleton' though, which is mildly annoying.