4 ms·
Java is very verbose. Although many languages are moving towards the same constructs. The BIG differentiator is how a framework handles the write-compile-run-d
by jbverschoor 10y ago
Java is very verbose. Although many languages are moving towards the same constructs.
The BIG differentiator is how a framework handles the write-compile-run-debug cycle.
Rails is very nice in that respect.
When I was doing a lot of java I'd run the server in debug mode, so eclipse could hot-swap code. Cycle was instant compared to a few minutes
As for the "productivity" examples of 5% and 10%.. That's way too little.
- TeMPOraL 10y agoYeah. 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 10y 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.