Thursday, 29 August 2013

Why is Singleton a better choice than Global Objects [duplicate]

Why is Singleton a better choice than Global Objects [duplicate]

References

Reference NO 1

http://stackoverflow.com/questions/15193358/why-is-singleton-a-better-choice-than-global-objects

Reference NO 2

http://c2.com/cgi/wiki?GlobalVariablesAreBad

Reference NO 3

http://programmers.stackexchange.com/questions/37249/the-singleton-pattern

Reference NO 4

http://programmers.stackexchange.com/questions/148108/why-is-global-state-so-evil

Reference NO 5

http://www.johnwordsworth.com/2010/04/iphone-code-snippet-the-singleton-pattern/

Reference NO 6

http://forums.xkcd.com/viewtopic.php?f=11&t=70053

Reference NO 7

http://discuss.fogcreek.com/joelonsoftware2/default.asp?cmd=show&ixPost=43421&ixReplies=16

Reference NO 8

http://www.perlmonks.org/?node_id=759043

No comments:

Post a Comment