|
On Jul 8, 2010, at 10:54 PM, Everett L Williams II <rett@classicnet.net> wrote:
Then all you have done is created a pointer to a globals object and passed it around on the stack rather than leaving it on the heap. The problem isn't globals, the problem is that coordinating usage of shared resources is hard. But this isn't a technical or linguistic problem. This is a social/political problem, pretty much THE problem. My personal opinion is that "globals are bad" is an opinion born out of technical people looking for a technical solution to a non-technical problem. Dave |