4 ms·
ES6 may well be the death of Javascript. They've managed to turn Javascript into Java, which means web programming is about to turn into a buggy nightmare.
by transfire 14y ago
ES6 may well be the death of Javascript. They've managed to turn Javascript into Java, which means web programming is about to turn into a buggy nightmare.
- scotth 14y agoHow do you feel they've done that?
- taitems 14y agoEven if what you're saying is true (which it isn't), it's completely optional. Don't want to use `let` scoping? Use `var` instead! etc.
- bcoates 14y agoLanguages don't work that way. Anyone touching the language has to deal with the whole thing. Tooling ES6 code is more complicated, learning the language is much more complicated (it was nicely minimalist compared to other mainstream languages). At least they mostly stuck to mucking with the syntax--saying they turned it into Java is crazy until they introduce Java's broken threading.
- ianb 14y agoIt doesn't look anything like Java. There's a class statement, but it's not something dramatic, just some syntax around normal JS prototype patterns. The JS2 proposals years back started to look a lot more like Java, but those never went anywhere.
- aneth4 14y agoSeems to me that ES6 adds a lot of useful constructs. Java is usually criticized for adding features too slowly and promoting bloated codebases due to an inflexible language. I don't see how this is anything like Javascript or promotes buggy programs.
- danbeam 14y agolol, my favorite part was when you thought a totally hacked together, duck-typed, uncompiled language would produce less buggy code than Java!