News for hackers. Stuff that matters.
Re:Making the Most of the JavaScript Language (2016) by tisdy on Thursday August 03, 2017 @08:32PM (#14925365)
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.

Re:Making the Most of the JavaScript Language (2016) by WorldMaker on Friday August 04, 2017 @12:58PM (#14930052)
There'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.)