3 ms·
I've enjoyed noodling around w/ Javascript in various simple REPLs. I love the feedback, but it also feels a lot like using "ed" versus a visual editor. I find
by EvanAnderson 6y ago
I've enjoyed noodling around w/ Javascript in various simple REPLs. I love the feedback, but it also feels a lot like using "ed" versus a visual editor. I find myself writing code in a text editor, then pasting bits and pieces into the REPL.
I'd love to have tooling that let me develop in a REPL, but also had a text editor to let me edit objects / functions / etc in that manner, too.
- adamkl 6y agoWell, with proper REPL integration, you never really type/copy/paste into the REPL. You write your code in a source file like normal, highlight what you want evaluated, and have the REPL evaluate it. Clojure has a great REPL because you are effectively working inside your own codebase, as it runs. Its a strange idea to wrap your head around, but very cool. You can get something similar to this approach in JavaScript using Quokka[0]. It's not as complete as a Clojure REPL, but its still quite nice. [0] https://quokkajs.com/ https://quokkajs.com/
- EvanAnderson 6y agoI'll check that out. Thanks for the recommendation.