DEV Community

Discussion on: TypeScript is a waste of time. Change my mind.

Collapse
 
murjam profile image
Mikk Mangus • Edited

I like some of your points. I can give you an example of why it is actually quicker to write.

I used to be a Java developer for years, recently (for a year and a half) I have been every-day writing Javascript/Typescript. And I have to tell you I still write Java a lot faster than Javascript. How come? Well, the magic word here is IDE.

When I write statically typed languages, I get a lot better IDE support and there is almost nothing that I write by hand. The easiest samples are moving/renaming some code or just importing something else - in Java/Typescript you do not need to worry, just make the move. With plain Javascript at least I haven't found a good setup for either VScode nor IntelliJ IDEA that would make these changes automatically for me.

Collapse
 
bigredmonsteruk profile image
Big Red Monster

Hey Mikk. I have found that intelliJ does a really great job if you are using ES6 modules. The second you end up using globals (sadly forced sometimes due to libs) then it's not as good.