8/6/2019
Why People hate JavaScript? - FuGenx Technologies - Medium
Why People hate JavaScript? FuGenx Technologies Aug 6 ¡ 3 min read
The main reason to hate JavaScript is, in my opinion, that in most cases, developers are forced to use it. No one likes being forced into things, and this is especially true for software developers, who are notorious for the https://medium.com/@fugenx36/why-people-hate-javascript-c79fdf2da8e3
1/6
8/6/2019
Why People hate JavaScript? - FuGenx Technologies - Medium
technologies they choose to use. Many developers are unhappy that they don’t need to use JavaScript when developing front-end applications that work in browsers. It will be interesting to see what happens when WebAssell is able to use other programming languages to implement browser-based front-ends. Another aspect of JavaScript that annoys many developers is its behavior when launching its prototype-based inheritance system and JavaScript. These two behave differently than most other object-oriented programming languages. Since most developers learn OOP using languages that use classbased inheritance, the behavior of JavaScript is unusual and confusing. The JavaScript that most developers don’t like: 1. Dynamic Binding — JavaScript is a poster-child for dynamic binding, and static binding is hated by fans 2. Shortage of interfaces and full dependence on duck typing — Typescript was created to minimize this 3. Confusing type implicit conversions — it is the source of many “weird JavaScript” displays
https://medium.com/@fugenx36/why-people-hate-javascript-c79fdf2da8e3
2/6
8/6/2019
Why People hate JavaScript? - FuGenx Technologies - Medium
4. DOM — Although DOM is technically different from Javascript, most developers see them as identical. There are many flaws and inconsistencies in the DOM 5. High Tool and Framework Fatigue — A script tag that creates and links to a text file, including JavaScript on the webpage. Now you need npm, yarn, webpack, Babel, ESLint, etc. and to see which framework is going to be popular next year 6. Most people who use JavaScript are not really trained as developers. Such people don’t like JavaScript because they don’t know how to use it. 7. Javascript is really easy to use. Even an idiot can use it. There is a greater barrier to entry in C ++, Java and other languages. And junior developers write a lot of JavaScript, so a lot of JavaScript is rubbish. It is not the fault of the language, but the downside of ease of use. 8. There are flaws in JavaScript. Other answers are very detailed about them, and most of them are exaggerated, so I won’t bother with them here. It was quickly created for marketing reasons (so they could say, “We have a scripting language in the browser!”). The thing is, if you use a liner with ES2015 and strict rules, none of those errors are still relevant.
https://medium.com/@fugenx36/why-people-hate-javascript-c79fdf2da8e3
3/6
8/6/2019
Why People hate JavaScript? - FuGenx Technologies - Medium
9. This is a sign that you are part of the “cool” group, the dog whistle. So people spill on it to show how awesome they are. (I, ahem, can find out about this particular fact, because I may once be one of those developers…) 10. Javascript sucked a lot. This is now greatly improved with ECMAScript 2015 and recent changes. You can also convert ECMAScript 2016+ features into ES5, so you can use all the awesome features today. Once upon a time, when many developers (including myself) encountered JavaScript for the first time, there was much to complain about. 11. Problems with the DOM can be blamed in JavaScript. JavaScript is a programming language. The DOM and browser functions related to the DOM are just the Javascript API. JavaScript compatibility between browsers has long been amazing. But everyone remembers the DOM API incompatibilities they have to contend with and they paint JavaScript with a single brush. 12. I would say that every major complaint found in other answers to this question has been addressed by ECMAScript 2015 and/or advanced liners. These include: 1)Module Systems 2) The single standard class system https://medium.com/@fugenx36/why-people-hate-javascript-c79fdf2da8e3
4/6
8/6/2019
Why People hate JavaScript? - FuGenx Technologies - Medium
3)“Its Value” 4) Block Scoping (Runs my liner “No var keyword”) 5) Equality (Always use ===) 6) Language authentication in effect 7) A language like semicolons is “quirks” (Just. Fing. Use them. Make your liner execute them! Bang, no problem!) And the pars can sometimes act like a popular zero octave (Parsing won when using “hard mode” no longer do). 8) And when you’re ready for static types, it’s fully encrypted Typescript into ECMAScript 2015-compatible JavaScript-with-types, and then you’ll never experience another surprising type of conversion that doesn’t work as you expect. If you are looking out to develop an app or have an idea drop your details visit Fugenx.com Looking for app development services Click here to develop a mobile app and get a free consultation. JavaScript
Java
Javascript Tips
Discover Medium https://medium.com/@fugenx36/why-people-hate-javascript-c79fdf2da8e3
Javascript Development
Make Medium yours
Javascript Frameworks
Become a member 5/6
8/6/2019
Why People hate JavaScript? - FuGenx Technologies - Medium
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
About
https://medium.com/@fugenx36/why-people-hate-javascript-c79fdf2da8e3
Help
Legal
6/6