News for hackers. Stuff that matters.
Re:So Singletons are bad, then what? by aliston on Thursday January 30, 2014 @01:54PM (#7152581)
So, have we decided on what would be a better approach for storing global state?

Static variables and methods? Pass the instance down to all children?

Re:So Singletons are bad, then what? by mattgreenrocks on Friday January 31, 2014 @07:16AM (#7156299)
It seems like there's no hard and fast rule.

I dislike singletons, but will gladly make a static method + static var from time to time.