Re:JavaScript Fatigue or My History with Web Development
by RonanTheGrey on Tuesday June 27, 2017 @03:18PM
(#14648395)
There's a very good point here - JS is being used for way more than just showing and hiding DOM elements anymore. It is becoming a full application language, and to that end requires the features that full application development requires, not just on frontend, but in Node as well.
I have just inherited a project written in 100% ES5 and I had forgotten how obscenely verbose JS <= ES5 really was. Every extra line of code is a liability and will slow down app development. Language features support precision and conciseness and that in turn promotes enterprise-level development. A toy language (old JS) can never support a full in-browser application.
Look at Android for comparison:
- ReactJS: React Native, also any overall architecture like MVVM or MVP.
- ES2015/ES7: JDK 7/8
- Transpilers: Kotlin
- Minifiers/packers: proguard and others
- Gulp and co.: gradle
- Other libraries: android has a number of libraries to handle network requests, image loading, animations etc.
What I'm trying to put across is that JS has transitioned from a language that would show and hide elements of the DOM to a serious language used everywhere.
A good developer takes the time to understand the tooling around their platform and language.