Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'll have to agree here, with the caveat that this applies to functional code.

For side-effect heavy code, a repl is not nearly as productive as good tests and a debugger.

(What is interesting is that people tend not to test or check manually their code's side effects, so a repl is the best option for almost all the debugging that people actually do.)



I worked in Kotlin and Java for awhile and the closest thing I had to a repl was stopping the debugger and running arbitrary single lines of code in the context I paused. It was awful compared to the clojure repl.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: