Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Well if you ever feel like changing your code (different input for a function) you'll know where to look because the compiler will tell you
-
Its honestly just to get warnings for when we are doing the kind of stupid shit that dynamic languages let us do. Type checking is a big deal when you are doing a large project in which a lot of moving parts are a thing. Other than that, the only time in which i had to use Typescript was for Angular and that is about it, i don't think i could bare with it on say an express or koa app, but that is just me. Mind you my node projects, even the ones in production are not really that large.
-
I really like the fact that you can create interfaces and if you change the input to a function that has that interface type it won’t transpile
Am i the only one who thinks TypeScript is not necessary, more some kind of overhead creation?
Whats your opinion about TS? Do you use it or just "good" old plain JavaScript?
question
opinion
javascript
typescript