DEV Community

Discussion on: Typescript harder than JavaScript?

Collapse
 
akashkava profile image
Akash Kava

It seems that about 50% of Javascript people absolutely hate Typescript

Since TypeScript is from Microsoft, everybody who hates Microsoft, by default they hate TypeScript.

The best part of TypeScript is, for consumer of library, when dealing with any JS library, some of them are so poorly documented, it becomes difficult on what parameters are required to send and what will be the result of the function. With TypeScript, users can consume libraries without any documentation most of the time.

TypeScript is really useless of is-even kind of library, usually single developer repository, typescript is huge overhead.

But when you are dealing with a huge team, everybody working on multiple components, no body has enough time to document everything, a tight budget on UI is always a big constraint, at this time TypeScript makes a huge difference.

Anybody who argues that TypeScript is not compiled, and at runtime all types go away etc, eventually at machine language level, everything offered in higher level goes away, all are just numbers.