News for hackers. Stuff that matters.
Re:Online Python Tutor: Learn programming by visualizing cod... by agentultra on Tuesday October 02, 2012 @11:54AM (#4602611)
Generators are similarly confusing to visualize... http://pythontutor.com/visualize.html#code=def+fib(n)%3A%0A+...
Re:Online Python Tutor: Learn programming by visualizing cod... by anonymous on Tuesday October 02, 2012 @12:44PM (#4602866)
It does look a bit confusing, but it does step through the program in the order it executes. Unlike list comprehension, where it completely misses some instructions.