←back to thread

873 points belter | 1 comments | | HN request time: 0.211s | source
Show context
ertucetin ◴[] No.42947096[source]
> REPLs are not useful design tools (though, they are useful exploratory tools)

I disagree with this. I’m a Clojure dev, and most of the time, I use the REPL to iterate on features, fix bugs, and refactor, thanks to the fast feedback loop.

I used to be a Java dev—oh god, restarting the whole app after every change made me want to shoot myself in the head. Now, I use the REPL to build what I want and then move on. This brings joy back to programming.

I’m not saying other languages are bad, but working with Clojure is more enjoyable for me. I’m at least 2-3 times faster than I was with Java. Of course, there are techniques you need to know to write efficient and idiomatic functional code.

replies(5): >>42947281 #>>42947566 #>>42951218 #>>42954166 #>>42957162 #
1. smallerfish ◴[] No.42951218[source]
Apparently Graal lets you hotswap. I tried getting it working about a year ago, but couldn't figure out how to install it with Gradle toolchains, so gave up at that point. I should probably look at it again. Anybody using this?

https://www.graalvm.org/latest/reference-manual/espresso/hot...