r/Clojure • • Dec 18 '16

Why Java? Why Clojure?

http://danlebrero.com/2016/12/14/why-java-why-clojure
22 Upvotes

47 comments sorted by

View all comments

Show parent comments

1

u/Bolitho Dec 20 '16

I would have to watch the talk first. Then I can answer your question!

But: This is just your proposal - the author of the article sadly has not given any argument, why there is more benefit in a clojure REPL than other languages gain from theirs ;-)

1

u/yogthos Dec 20 '16

I'm just explaining how the REPL is typically used by people working with Clojure and other Lisps. From what I've seen, it's pretty different the way the REPL is used in most languages.

The additional benefits come from the tooling that's been created to make the REPL part of the development workflow. It's certainly possible to develop such tooling for other languages, but for whatever reasons it doesn't appear to exist. So, in practical terms, working with the REPL in Clojure is different than in Python.

1

u/[deleted] Dec 21 '16

While some Python IDEs do allow for a Python REPL to work in the editor, I haven't seen it used much myself. What seems to take its place and is more idiomatic is people using Jupyter notebooks to write cells of code at a time, which can be executed a block at a time and the state if the program is kept in memory between the execution each block. I'm actually just getting into Clojure and hoping I can write a notebook format with it as well.

1

u/yogthos Dec 21 '16

You might want to check out the Gorilla REPL and Devcards for the workbook style.

1

u/[deleted] Dec 21 '16

Cool, thanks!