Skip to main content
5 events
when toggle format what by license comment
Oct 17, 2010 at 1:00 comment added deft_code Please do hate the singleton. It does two things poorly. Global access and arity. Often developers think global access == singleton. There a very few problems than need a true singleton, and possibly a few more that are more elegant when solved with a singleton.
Sep 29, 2010 at 16:44 history edited gkrogers CC BY-SA 2.5
added Amazon link to recommended book
Sep 29, 2010 at 15:09 comment added user744 Singleton for the keyboard reader is exactly the situation where I have to ask - Can you really not just make it a global pointer set early in your main function? Have you ever actually accidentally instantiated two keyboard readers?
Sep 29, 2010 at 15:02 comment added jcurrie33 Thanks for the input! I was not aware of that book, but will look into it now as a result of your post. Thanks again!
Sep 29, 2010 at 14:50 history answered Gregory Avery-Weir CC BY-SA 2.5