3 ms·
Typescript is essential for large codebases / many devs. > My company has abandoned JavaScript wholesale with great relief. If it was a physical object we woul
by tisdy 9y ago
Typescript is essential for large codebases / many devs.
> My company has abandoned JavaScript wholesale with great relief. If it was a physical object we would have tossed it off the balcony.
I would like to do the same with our gigantic SPA-ghetti.
- WorldMaker 9y agoThere's no time like the present to start! Typescript's allowJS compiler option and comment-based approach lets you start with the spaghetti you have and slowly transition to Typescript. (Though I'm still fan of the "rip off the Band-Aid" approach I used in a few projects back in the day: rename every .js to .ts and then fix compiler errors until things compile. allowJS is a great option now.)