Re:JavaScript libraries should be written in TypeScript
by JoeAltmaier on Wednesday March 16, 2016 @04:20PM
(#11300367)
Of course you can. Can't catch all the bugs; but can catch some of them. Which saves time and money. It doesn't actually have to be perfect to be useful and helpful.
[ Parent
| on HN ]
Re:JavaScript libraries should be written in TypeScript
by acjohnson55 on Thursday March 17, 2016 @06:42PM
(#11308228)
I'm not saying it doesn't help. I'm saying you can't count on it the same way you can if you're working in a truly end-to-end statically typed environment. Even Scala's type system has its leaks, due to nulls.