Python handles globals badly.

Chris Angelico rosuav at gmail.com
Thu Dec 4 05:29:46 EST 2014


On Thu, Dec 4, 2014 at 4:03 PM, jtan <admin at grails.asia> wrote:
> How can Skybuck use so much globals. Wouldn't that introduce a lot of thread
> safety problems?

A lot of programs don't use threads, and therefore cannot have thread
safety problems - or, looking at it the other way, do not care about
thread safetiness. It's like having Neil Armstrong wear water wings to
make sure he won't drown in the Sea of Tranquility.

ChrisA



More information about the Python-list mailing list