DISQUS

Andy Palmer: Singletons

  • euluis · 1 year ago
    The majority of Singletons I've seen were disguised global variables. I've rambled on this previously as part of a post on a specific refactoring task.


    It's a problem with Java like languages that want to make everything into a class. The focus of the language should be on objects and not on classes. So, all in all I consider that singletonitis is a problem of some languages.
  • ben.biddington · 1 year ago