Looks good. However, my big criticism of these sorts of visualisations is they seem to be entirely geared towards imperative programming. Has anyone seen similar visualisations for more functionally structured code? Oh, I see you can write your own code to be visualised. Here's a simple list comprehension: http://pythontutor.com/visualize.html#code=myList+%3D+range(... Not the most enlightening visual.
Generators are similarly confusing to visualize... http://pythontutor.com/visualize.html#code=def+fib(n)%3A%0A+...
Online Python Tutor: Learn programming by visualizing code execution
31–40 of 46 posts
Re: Online Python Tutor: Learn programming by visualizing code execution
#32Re: Online Python Tutor: Learn programming by visualizing code execution
#33Re: Online Python Tutor: Learn programming by visualizing code execution
#34Re: Online Python Tutor: Learn programming by visualizing code execution
#35Earlier quoted context omitted.
Bret has certainly been an inspiration to lots of us who work in this field, but I still don't think this is an implementation of his vision. To truly implement his vision, someone would need to design a new programming language and environment. My motivation has been to ease the learning path for an existing popular language (Python).
I have been thinking of such a language for several years. Now that life programming environments are getting traction, I might be able to bootstrap the process and program my ideated language on top of one of them. See this 2003 PhD thesis at MIT for two examples of existing languages designed to take full advantage of live programming environments. (Flogo I -graphical- and Flogo II -textual): http://llk.media.mit.e…
Re: Online Python Tutor: Learn programming by visualizing code execution
#36Just 5 days ago HN was all so negative about Bret Victor's visions[1] of how programming should be taught. And yet here we are, looking at a working example of one of the ideas he wrote about. [1] - http://news.ycombinator.com/item?id=4577133
Re: Online Python Tutor: Learn programming by visualizing code execution
#37Just 5 days ago HN was all so negative about Bret Victor's visions[1] of how programming should be taught. And yet here we are, looking at a working example of one of the ideas he wrote about. [1] - http://news.ycombinator.com/item?id=4577133
Re: Online Python Tutor: Learn programming by visualizing code execution
#38Hey guys, Isn't this the same as a debugger. Can people not learn from that?
Re: Online Python Tutor: Learn programming by visualizing code execution
#39Re: Online Python Tutor: Learn programming by visualizing code execution
#40Earlier quoted context omitted.
I don't think Philip has posted this project on here before. His user name is: http://news.ycombinator.com/user?id=pgbovine Another project he worked on that you may have seen on HN is the PhD Grind book (about getting a CS PhD from Stanford).
Oh, I know. He's been a regular here for a while. Which is why I was surprised I did not know about one of his projects.