4 ms·
Using a raw repl at all is painful compared to just selectively evaluating expressions from a buffer (say, in Emacs, VimClojure, or the Eclipse and IntelliJ plu
by vutekst 14y ago
Using a raw repl at all is painful compared to just selectively evaluating expressions from a buffer (say, in Emacs, VimClojure, or the Eclipse and IntelliJ plugins).
- wonderzombie 14y agoI must second this. You can get used to it, and I did. For a while, I used Vim or ST2 + a terminal window with lein repl. As of a week or so ago, I started using Emacs with Clojure & nrepl. Aside from the occasional teething problems (still not used to the Emacs paradigm), it's amazing. Merely having the REPL in a text-editor-like buffer is a big win, and there's a bunch more that I'm still incorporating into my workflow.
- emidln 14y agoI use this for clojure's python port with vim. I just sit inside vim and have macros that can evaluate the buffer or a selection thereof.
- spacemanaki 14y agoI agree! Anyone who ends up using Clojure more than a little bit will figure out how to use them, I'm sure. But rlwrap is still a very useful tool because it works with every REPL. It will always be there, for those first sessions when you start learning a new language, or when you just need to answer some question about a language you rarely use, or when you write your own interpreter and don't want to also write read-line or an Emacs inferior-foo-mode.