10.03.2011 19:03, Kenny Riddile ?????:

No, but in terms of clarity, readability, and ease of debugging, there
is a *huge* difference in using a singleton to modify some globally
accessible object versus a "classic global".

To me, the third option of "don't use either one" is almost always better in terms of clarity, readability, and ease of debugging.

What this completely overlooks is that sometimes a globally accessible, mutable, possibly resource-managing, object is the desired semantics.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to