3 ms·
So yay? I can write Java again instead of JavaScript? Yuck...
by ConcernedCoder 7y ago
So yay? I can write Java again instead of JavaScript? Yuck...
- Roboprog 7y agoYeah, I hear you. Replacing 10s of thousands of JS lines with 100s of thousands of Java lines doesn’t feel like progress. Most Java (only) programmers look at JS as an “inferior, weird” language, but it’s actually much more powerful and concise if you dig into it. However, there are other, better (than vanilla Java) languages that generate class files for the JVM which this tool can apparently convert to WASM. Might have some redeeming features. Clojure to WASM maybe??? It’s not like CSS is all that fun — this approach gets rid of DOM manipulation for use-cases where a more pure graphical layout is appropriate.
- macspoofing 7y ago>Replacing 10s of thousands of JS lines with 100s of thousands of Java lines doesn’t feel like progress. In no way is that true.
- Roboprog 7y agoCompare something like Java Spring dependency injection of “service” classes to code using partial function application and higher order functions. E.g. - https://ramdajs.com/docs/#partial https://ramdajs.com/docs/#partial Of course, I’m assuming that the JS programmer is exploiting FP and dynamic types, and not just transliterating Java style static OOP code.