4 ms·
Yeah. It's sad that most languages can't handle write-compile-run-debug cycle right. That is, it's sad they have an explicit cycle like that at all. I tend to
by TeMPOraL 11y ago
Yeah. It's sad that most languages can't handle write-compile-run-debug cycle right. That is, it's sad they have an explicit cycle like that at all.
I tend to switch back and forth between Java (at work) and Lisp (after work), and the workflow in Java annoys me to no end. It's so much easier and faster to write when you can compile-in new functions, methods and classes (or hot-swap existing ones) in a running program, while inspecting it at the same time. It's hard to go back from the convenience of having write-compile-run-debug cycle all blended into one.
- carterehsmith 11y agoDid you try something like JRebel? It does allow you to add/change/rename/remove methods and fields, on the fly. I've been using it for some years and it does cut on restarts big time. Commercial license (that your employer pays for) is ~$500/year/developer. Or you can try something like https://github.com/HotswapProjects/HotswapAgent https://github.com/HotswapProjects/HotswapAgent, that is a modified JVM that supposedly (I did not try it yet) does the same, and it is open source.