3 ms·
> 1 - Javascript is not fundamentally easier to code in than Java. I wouldn't make that statement with Ruby for example, but I've done lots of all 3. It depend
by metajack 15y ago
> 1 - Javascript is not fundamentally easier to code in than Java. I wouldn't make that statement with Ruby for example, but I've done lots of all 3.
It depends on what you are writing. But personally, I find that languages with first class functions are much more powerful than languages without. Closures fall out of this as well. So on that point, JavaScript stomps all over Java.
From the anecdotal evidence of all the infrastructure the Node community has created, I'd say the FFI must be substantially better as well. I've coded in JNI and it was not fun. There's a lot of good code already out there that doesn't run inside a JVM, and to many, it's pretty important to be able to access that.