These days, I’m learning Clojure, and using Anki to memorize key aspects of it. Last week, I managed to embed an interactive ClojureScript snippet inside my Clojure-related Anki cards.

Even when I know the “official” answer, I often want to experiment and try out alternatives, and it’s great to be able to do so without having to reach out to the REPL. This also works on my phone!

Eventually, I expect another benefit: a better transfer between my spaced repetition practice and the programming practice.

All the technical merit should go to Michiel Borkent’s cljs-showcase. If someone is interested in knowing how I put this inside of Anki, please let me know in the comments, and I’ll write a follow-up.

Comments

Leave a Reply

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