3 ms·
Clojure[Script] is worth learning just to experience a REPL-driven development environment. Some editors and IDEs support it better than others, though, notabl
by modernerd 6y ago
Clojure[Script] is worth learning just to experience a REPL-driven development environment.
Some editors and IDEs support it better than others, though, notably Emacs and Atom. Cursive (for IntelliJ) is pretty good, and Calva (for VS Code) is promising, but they lag behind in polish and features when I tried them. For example, I don’t think Cursive has inline output next to the expression you’re evaluating like Proto-repl for Atom does, and once you’ve tried that you don’t want to live without it.
I don’t write much Clojure these days but miss the REPL-driven experience. I recently discovered Quokka and Wallaby for JavaScript/TypeScript:
https://quokkajs.com/ https://quokkajs.com/
https://wallabyjs.com/ https://wallabyjs.com/
They offer a great experience that beats console.logging your way to success or step-through debugging by far.
Just highlight the expression you’re interested in and get inline output (in the paid version of Quokka) right in your editor, including evolution of values in for loops and the values of data retrieved from fetch requests. It has greatly shortened the feedback loop for me and both plugins were much easier to set up and configure than Clojure’s REPL integrations.