On Wed, Dec 3, 2014 at 1:27 PM, Skybuck Flying <skybuck2...@hotmail.com> wrote: > I don't need snot telling me how to program after 20 years of programming > experience. > > This is so far the only thing pissing me off in python. > > Now I have to declare "global" in front of these variables every where I > want to use em:
Well, I'm not snot, and I also have 20+ years' programming experience... and I'm telling you that using that many globals is a poor way to write code. Especially having so many separate, but related, variables. If your two decades' experience were at all like mine, you'll have worked with quite a lot of languages, and you'll know to code to a language's strengths rather than fighting against it. On the other hand, if you've been working with one language for twenty years, then maybe you'd do better to stick to it than to try to learn something new. But either way, don't expect Python to behave like <insert other language here>, because if it did, what would be the point of having both? ChrisA -- https://mail.python.org/mailman/listinfo/python-list