Sign in to follow this  
  • entries
    94
  • comments
    127
  • views
    82937


3 Comments


Recommended Comments

I think I have a decent understanding of singletons, but I tend to view them as a slightly better way to make things available at global scope.

Maybe i'm wrong, but I usually avoid singletons unless I have to use them, or if they make my code noticably less complex.

Share this comment


Link to comment
Yeah, just be carefull though. What might seem as "making it less complex" can turn out to be just the opposite in the long run. Use it if you have no other option...

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now