DEV Community

Discussion on: Typescript vs Javascript : Which one should you use for your next project ?

Collapse
 
sebbdk profile image
Sebastian Vargr

Nether are better. :)

I suggest we stop trying to compare hammers & screwdrivers, apples and oranges etc.

Typescript is intended to be type strong, Javascript is type weak.

What we should use, should depend on, how much time we want to spend, the team we have, is it a high volume product or a low volume product, what would the impact of downtime be, the importance of avoiding errors, do want to unit test, what libraries are we using, what is the experience level of the implementers, who is this made for, does compile stack complexity matter and finally should this run in a shoebox.. maaaybe?

There's a reason carpenters do not use a swish army knife for all their work. :)