4 ms·
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 neces
by michaelwww 11y ago
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.
- jeremiep 11y agoI 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.
- jackweirdy 11y agoThat's just Selection Bias - the bugs that fail the type checker don't get into production!