0
If TypeScript is a superset of JavaScript, why do people still use JavaScript?
Good use and Excellence of JavaScript/TypeScript.
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.