Python handles globals badly.

jtan admin at grails.asia
Thu Dec 4 00:03:51 EST 2014


How can Skybuck use so much globals. Wouldn't that introduce a lot of
thread safety problems?

On Thu, Dec 4, 2014 at 9:32 AM, Mark Lawrence <breamoreboy at yahoo.co.uk>
wrote:

> 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
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Freelance Grails <http://grails.asia/> and Java <http://javadevnotes.com/>
 developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141204/505c9db1/attachment.html>


More information about the Python-list mailing list