Python handles globals badly.

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Sep 2 17:19:15 EDT 2015


On 02/09/2015 19:47, tdev at freenet.de wrote:
> I agree with Skybuck Flying.

First problem.

> Using the keyword global inside each(!) function only
> to mark the global var writeable in each of the functions
> is really an over-regulation and very annoying from my point of view.
>

Second problem.  Any chance of shooting yourself *BEFORE* your code 
escapes from the laboratory?

-- 
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