Re:Announcing TypeScript 1.5
by michaelwww on Monday July 20, 2015 @11:40AM
(#9916733)
When I was coming up as a programmer I had a manager who took a "belts and suspenders" approach to software development. Adding types to JavaScript is not necessary, but I sleep better at night knowing my code is that much closer to being correct.
[ Parent
| on HN ]
I used to feel safe with types as well, until I realized every bug found in production did pass the type checker and the full test suite.
To me, explicitly managing state and keeping parts of the system decoupled and simple to understand is now what I require in order to sleep peacefully at night.
A type system can help with this, but not that much.
Re:Announcing TypeScript 1.5
by jackweirdy on Monday July 20, 2015 @02:39PM
(#9918074)
That's just Selection Bias - the bugs that fail the type checker don't get into production!