3 ms·
Why are we slowly turning javascript in java? This seems like a secret Oracle plot
by arcbyte 5y ago
Why are we slowly turning javascript in java? This seems like a secret Oracle plot
- junon 5y agoYep, the fact that TC39 seems to accept just about anything is really concerning to me. I'm already fighting with people about integer literal separators not being supported in e.g. Vue and stuff, the more that's added, the more the community becomes fragmented, and I'm not convinced that transpiration (I hate that word...) is really paying off for us after all these years.
- puppet-master 5y agoIt's hard to reject anything when saying no is basically considered a microaggression nowadays
- bricss 5y agoit's all about acceptance and being wide open
- lcam84 5y agoI loved the "good parts” of JS back in 2010. I think I don't need most of this new syntax and yet sometimes have the feeling I'm losing the train when I see this “C#” code base. Curiously, that was the technology I used to work before.
- nerdponx 5y agoI suspect it's because frontend web developers are jealous of other people using and interesting variety languages, so they want to incorporate as many features from those other languages as possible in order to feel like they are getting some variety themselves. I don't blame them. That's exactly how I would feel! That, or, it's easier to upgrade to a new JS version + let your transpiler figure it out, than to rewrite your code in some other language that compiles to JS.
- cygned 5y agoI find Java code way more maintainable than JavaScript or TypeScript, to be honest. Especially since Java 11, the language has evolved significantly.
- snorremd 5y agoIndeed. JavaScript was supposed to be scheme with its own object property inheritance model. Of course stakeholders co-opted the language and forced the Java style syntax (and name) upon the language. Now most of the syntax additions has been focused on turning it into some kind of C#/Java lookalike so people who don't like functional programming and the object paradigm used in JavaScript can pretend it's just like the OOP stuff they like. Instead of trying to turn JavaScript into C#/Java, C# and Java should just support compiling to web assembly and provide a good standard library for working with browsers. /rant