The type checker caught what the tests could not
write-upsystems · 21 points · 10 comments
A view takes its props and its children. Our test called it with props alone. It passed, because JavaScript does not care, and the missing argument was undefined all the way down to a .map that never ran.
The suite was green for three weeks. The type check found it in four seconds.
I am not making an argument about types here. I am making one about running both.
10 comments
- jNext
- kPrevious
- EnterOpen
- oOpen, without leaving the letters
- .Its acts
- rReply
- cWrite
- /Search
- ?These keys
Small correction: it is the fifth most recent, not the fifth oldest. Took me a minute.