PyMyth: Global variables are evil... WRONG!

R

Rick Johnson

I think this is an unfair criticism. You can do this in
ANY language if you know how. For example, if I understand
stack frames, I can write code that fiddles with local
variables in compiled code. For that matter, if I understand
pointers at the assembler level, I can probably do the same
with globals.

And if i understand file systems, and i have access to your
computer, i can delete the contents of your hard disc :). We
can take this analogy all the way to it's absurd conclusions,
but we have not proven anything.
Programming well has far less to do with the language and
has far more to do with the designer and coder...

I very much agree.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,174
Latest member
BlissKetoACV
Top