Singletons

I’ve been playing about with a code base that has a large number of singletons, for what appears to be no apparent reason.Something about singletons doesn’t sit quite right with me, but in the most part, if they’re not misbehaving, I’ll probably leave them be. The thing that bothers me a lot more though, is [...]

Static Utility Methods

A few of us were chatting about static methods the other day.I’m not a big fan. I think that they tie you unnecessarily to a concrete class. Most people were saying that there is no harm in having static methods in utility classes, and this is one place where I would disagree.The example used was [...]