News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code by ufo on Friday September 26, 2014 @05:13PM (#8374896)
You should be able to do domething similar to the C example in most other languages with sane, lexical, variable scoping. Unfortunately, Python doesn't really play nice with nested scopes/functions so you are a bit out of luck here.
Re:John Carmack on Inlined Code by eru on Sunday September 28, 2014 @09:30PM (#8381369)
All comprehensions get their own scope in Python 3.