If TypeScript is a superset of JavaScript, why do people still use JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If TypeScript is a superset of JavaScript, why do people still use JavaScript?

Good use and Excellence of JavaScript/TypeScript.

14th Mar 2018, 9:27 AM
Gwakchang💻
Gwakchang💻 - avatar
1 Answer
+ 1
<\><\> There are several reasons why most JavaScript developers still prefer using JavaScript over TypeScript: 1. Many don’t understand the benefits of explicit (and implicit) typing 2. Many do understand the benefits, but consider them to be more trouble than they’re worth 3. Many consider JavaScript, especially with ES6, to be “good enough” for what they need 4. Some worry that types plus classes can transform JavaScript into a “poor man’s Java” 5. Even more syntax to learn 6. TypeScript requires an extra compilation step 7. Source maps are shit 8. A few have transcended both TypeScript and JavaScript to languages such as Elm and ClojureScript 9. You’d be surprised at how many people who use JavaScript don’t even know about TypeScript And So, Excellent exceptions.
14th Mar 2018, 9:32 AM
Gwakchang💻
Gwakchang💻 - avatar