oakmac / open-ideas

a Place to Store Ideas
2 stars 0 forks source link

Use animation to visualize Clojure threading macros #4

Open oakmac opened 8 years ago

oakmac commented 8 years ago

Clojure's threading macros are a powerful way to visually structure code and improve readability of the code's execution flow.

Animation is a great way to create a relationship between two structures that are otherwise not visually connected (or to show a new relationship between structures that have moved locations).

Since the behavior of threading macros is to "move code around", animation could be used to demonstrate how the code is "moved" by the macro.

I believe this would be a good candidate for an explorable explanation and a useful learning tool.

oakmac commented 8 years ago

A preliminary exploration of this idea can be found here.