Visualizing JavaScript Closures

By | 2011-08-29

A long time ago, a manager gave me a poor review because I “drew pictures” to plan and communicate my software designs. They were Flow Charts. And what later would be called Sequence Diagrams. I never could convince him that they had a valuable place in software development.

Visualization of software and processes had been so natural to me then, so much a way that I looked at my work, that I had assumed that all other programmers thought the same way. It still took me a long time to realize that very many programmers don’t — or can’t — think of software in visual terms.

I get excited when I see a concept explained in terms of engaging graphics, as creationix Tim Caswell has done.

JavaScript Closure Visualized

creationix Tim Caswell's JavaScript Closure Visualization

Check out Learning Javascript with Object Graphs.

Leave a Reply

Your email address will not be published. Required fields are marked *