Posts tagged “design”
Singletons and global state
A very useful article from Google’s MiÅ¡ko Hevery about the problems with the Singleton design pattern. Essentially, Singleton’s rely on a global instance variable which could point to any number of other variables, thus creating a global state. This causes problems when you want to test your code. Root Cause of Singletons Top 10 things [...]
New Blog Design
I’ve installed a new WordPress Theme to freshen things up a bit. It’s called Spotlight and I think it’s a nice minimalist design, with enough flair to keep the page looking interesting. Let me know what you think!