News for hackers. Stuff that matters.
Re:Hard-won lessons: Five years with Node.js by mattnewton on Thursday April 20, 2017 @10:41AM (#14157050)
I use Java today daily, and came from Node. It is slower to have the compile step, even on very powerful machines, dynamic types are faster to change, and there are many caveats to hot reload. The repl comment was about is about speed, not sophistication. When something happens instantly versus a tiny pause, you don't think about seeing your change immediately on save, versus batching many changes together and then testing them. This turns out to be faster for me for explorative work. Many people agree. Just trying to explain. /shrug
Re:Hard-won lessons: Five years with Node.js by manyxcxi on Thursday April 20, 2017 @11:22AM (#14157477)
I've found myself getting much better at making testing changes in such a way they can be hotswapped, then batching them up into a change when it's necessary to do a JVM restart. Sometimes I impress myself with how long I can go with just hotswaps, kind of like a code golf, but it's absolutely the biggest time suck of a Java developer's day. Besides meetings.