4 ms·
Interactively executing code on real data, with real dependencies, is vastly different from a junit test, for obvious reasons. It's not hard to get the feature
by cle 10y ago
Interactively executing code on real data, with real dependencies, is vastly different from a junit test, for obvious reasons. It's not hard to get the features you listed, e.g. Clojure REPLs have all of those features (CIDER/Cursive).
Why do you think statisticians and data scientists don't write Java programs that they must recompile and rerun every time they tweak it? The statisticians I work with are obsessed with Jupyter notebook, because the iterative, fast-feedback development lets them almost touch and feel the numbers they're working with.
- virmundi 10y agoJupyter notebooks make sense since you can modify the whole block. When I used Python or Clojure, the REPL is singles line. So small changes necessitated modifying out of repl and pasting.
- pjmlp 10y agoHave a try at using Emacs/Cider or Cursive with Clojure.
- lemming 10y agoHave a look at https://cursive-ide.com/userguide/repl.html https://cursive-ide.com/userguide/repl.html under "Using the REPL" - there's a little demo there of what this looks like in Cursive. The editor is fully multi line and can be stretched out as large as you would like. It's also easy in pretty much any Clojure environment to be able to send forms easily from your editor to the REPL, and many people prefer to work this way.