On Sun, Aug 22, 2010 at 10:41 AM, TreKing <[email protected]> wrote:
> On Sun, Aug 22, 2010 at 7:05 AM, Doug Gordon <[email protected]> wrote: > >> I also miss the ability to simplify life (at least as far as writing the >> initial code is concerned) by being able to fall back on "global" variables >> that are visible everywhere. >> > Well, you can, technically still use "global" variables in Java, but I > would certainly argue that they usually complicate life, not simplify it. > It's all about how you use them. For example, a static to hold a reference on a singleton instance of a class is extremely useful and can simplify things greatly. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

