News for hackers. Stuff that matters.
Re:How Typescript saved me hours of debugging webpack by lobut on Monday June 19, 2017 @05:59AM (#14585719)
JavaScript is a mess, but the TypeScript benefits are a full "buy in". Like implicit or type inference only works when you use 'imports'.

It's a decent amount of cruft that you need to put in and it's not always smooth sailing.

TypeScript sometimes needs hinting and if you're doing it server-side. I once had to fix something in my node_modules because they were doing something wrong and TypeScript wouldn't compile unless I fixed that too.

I'm not saying that it's not worth it.

However, my team were severely turned off when we first started running with this.

Re:How Typescript saved me hours of debugging webpack by lsadam0 on Monday June 19, 2017 @09:37AM (#14586787)
I think most teams push back when any new, stricter ruleset is imposed upon them. Sometimes they need some time to see the benefit. I was in the same boat in having to force TS on my team, but they've come to appreciate how effective it is at preventing issues and helping to track down already existing issues. Originally my decision was based on cost, so much dev time is burned away dealing with the shortcomings of JS.