Python handles globals badly.

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Dec 3 20:32:58 EST 2014


On 03/12/2014 23:02, Skybuck Flying wrote:
>
>
> "Mark Lawrence"  wrote in message
> news:mailman.16534.1417610132.18130.python-list at python.org...
>
> On 03/12/2014 02:27, Skybuck Flying wrote:
>> Excuse is: "bad programming style".
>>
>> 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:

This reminds of of a quote from a colleague some 25 years ago "Real time 
programming is easy, you just make all the data global".  Perhaps you 
attended the same school?

>
> "
> Another example of a bad workman always blames his tools.
> "
>
> Euhm, so why don't you program with just 0 and 1's then ? ;)
>

I did with the M6800 in the late 70s.  Thankfully maybe 12 years ago I 
came across Python and it was love at first sight.  I've never looked back.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list