3 ms·
While I do agree that title of the article is clickbaity. I also agree with most of the arguments in the article itself. I'm a big fan of JavaScript as being a
by szastamasta 5y ago
While I do agree that title of the article is clickbaity. I also agree with most of the arguments in the article itself.
I'm a big fan of JavaScript as being a simple functional language with tiny bit of prototype based OOP. I do like some of the newer features of the language - arrow functions, block scoped variables, destructuring...
But I'm not sure stuff we're adding now are really giving us any value: the ugly async/await that is leaking abstractions and needs a lot of fixes to support iteration, classes, static members, constructors, annotations, etc.
For me personally it adds nothing valuable to the language. It simply is there to make language attractive to C# and Java programmers. It clashes with current libraries and way we used to work with JS. Thanks to that, we'll probably see explosion of crazy complex tools from these languages being introduced into JS - ORMs, DI containers, code generators and dynamic proxies everywhere...
Most of our problems could be easily solved using functions, objects and closures. But now we'll have Spring Data JS and in few years we'll also get our SimpleBeanFactoryAwareAspectInstanceFactory.
- cutler 5y agoAs soon as you see a Builder a Container is sure to follow then you need a Factory for your Containers and a Proxy to mediate access to your Factory. Alternatively you can opt for Clojurescript and never have to deal with any of this crap.