PyMyth: Global variables are evil... WRONG!
Mark Lawrence
breamoreboy at yahoo.co.uk
Wed Nov 13 18:57:57 EST 2013
On 13/11/2013 23:42, Rhodri James wrote:
> On Tue, 12 Nov 2013 02:06:09 -0000, Rick Johnson
> <rantingrickjohnson at gmail.com> wrote:
>
>> PyMyth: Global variables are evil... WRONG!
>
> That's not a PyMyth. It's a CompSciMyth, or to be more accurate a good
> general Software Engineering guideline regardless of language. Like all
> guidelines it can be broken, but people who break it should do so
> knowingly, aware that they have created potential problems for themselves.
>
A quote from a colleage of mine circa 1991 "Real time programming is
easy, just make all the data global". There you are everybody, problem
solved :)
--
Python is the second best programming language in the world.
But the best has yet to be invented. Christian Tismer
Mark Lawrence
More information about the Python-list
mailing list