5 ms·
Imagine a program to implement JS vs Java. Which would be shorter? That's why it seems fair to say that JS is much simpler than Java.
by sillysaurus3 9y ago
Imagine a program to implement JS vs Java. Which would be shorter?
That's why it seems fair to say that JS is much simpler than Java.
- gizmo385 9y agoI don't think that's a particularly good way to judge the problem though. Sure, the JavaScript example might be shorter, but which implementation is safer? Which is going to be easier to work with in the future? I'd make the assertion that the JavaScript version will have a lot more edge cases that could have been caught sooner with a more robust type system.
- fasquoika 9y agoAt the very least, the size of the standards of the two are comparable. JS is far too inconsistent to be truly simple https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf https://www.ecma-international.org/publications/files/ECMA-S... https://docs.oracle.com/javase/specs/jls/se9/jls9.pdf https://docs.oracle.com/javase/specs/jls/se9/jls9.pdf