Python handles globals badly.

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Sep 2 23:19:15 CEST 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