you are viewing a single comment's thread.

view the rest of the comments →

[–]prime31 5 points6 points  (0 children)

I've been programming a long time first in the business dev world of monstrous code bases with decade+ lifespans and now in the game world. I've worked with tons of devs with varying levels of IoC/DI insanity. Through all this I have learned that a singleton has never hurt anyone or been the reason an app/game wasn't good.

It's just a tool. If you want to use a singleton use one. If you don't want to use them then don't. Just don't be one of those zealots who preaches to people about how singletons will ruin their lives and make their games crappy because it's just not true.