On Wed, Mar 9, 2011 at 3:15 PM, David Williams <dwilli...@dtw-consulting.com > wrote:
> That said, why avoid them like the plague? Global variables are one of those things, like Singletons, that on the surface seem to make life easier, then get abused like a step-child to the point of making everything worse. Used correctly, in moderation, it's often the fastest, easiest, cleanest, and most straightforward way of doing something. Like a simple flag indicating DEBUG vs RELEASE, for example. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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