DEV Community

Discussion on: What are some things that folks might not be aware of about TypeScript?

Collapse
 
cerchie profile image
Lucia Cerchie

One thing that I learned from the Ladybug Podcast is that it's a whole language that requires a compiler! I assumed it was just a library or a framework, but knowing that give weight to the consideration of adding it to a project.

Collapse
 
lorenzojkrl profile image
Lorenzo Zarantonello

I am not sure I would agree in defining TypeScript a whole new language. It is a superset of JavaScript and you can think of it as "extending" JavaScript.
If JavaScript is a truck, TypeScript is the trailer. It doesn't do much on its own.

Also, as Nikhil said, TypeScript doesn't reach the final user!
In React or Angular you can include it in devDependencies, for example.

I will checkout the Ladybug Podcast though!:)

Collapse
 
snikhill profile image
Nikkhiel Seath • Edited

Actually, the "overhead" will only exist during the development-time.
I wonder if people end up considering the same argument for adding sass/scss in their project.