Hacker News new | ask | show | jobs
by bernawil 2256 days ago
Java is special since the whole compile/link/run loop is relatively slow and there's no REPL. In Nodejs or python you are expected to just run your code. Any error like a bad import/require statement you can correct quickly and re-run. Maybe even add/remove print statements while at it. And it's not just dynamic languages! You can have the same experience in Haskell.
1 comments

There is a REPL as of JDK 9: https://en.wikipedia.org/wiki/JShell