A few days ago I saw Mike Ash retweeted this:
“a lot of misinformation about singletons out there” Yeah, mainly from Apple and folks who followed their samples
– @schwa (Jonathan Wight)
Fair enough. I know that Apple’s Singleton discussion has taken a lot of heat. For one such criticism, see here. Now, figuring that Mike Ash retweeted that, plus since Mike does a lot of great Q&A stuff in his blog, here’s what Mike has to say about Singletons. Note however that Mike actually talks about it from a different angle.
Nevertheless, Apple seems to have listened to the criticism and has improved their Singleton implementation. Personally I’m fine with this. Yes I understand all the criticisms, but it’s like most tools out there: there’s a time, there’s a place. Understand things and work to get a job done as best you can at the time given what you know about your context and needs.
Yes, this is some old news… just that the recent retweet made me want to talk about it. I do wonder what exactly was going on that caused the original tweet. Something at WWDC?