4 ms·
It's a contradiction I see in this discussion quite often. If you want "quick feedback loops", a type checker is probably one of the quickest. Almost always qu
by berkes 3y ago
It's a contradiction I see in this discussion quite often.
If you want "quick feedback loops", a type checker is probably one of the quickest. Almost always quicker to give feedback than tests even. And certainly quicker than ftping code to a webserver and clicking through a webapp manually.
- sramam 3y agoModern JS (actually TS) tooling has adopted a middle ground. There is an instant feedback - un-type-checked version that runs (typically used in dev mode) with instant-feedback/hot-reload, and a slower compile and build flow that builds for production. I was initially not very convinced of the benefits - why have a type-checker if you won't use it in the small? But IDEs provide much of the benefit inline while writing code and this is seldom a real problem from the DX perspective. My skepticism was unwarranted.
- XCabbage 3y agoWith Python + mypy you get this middle ground as well. No need to type-check before you run your code, if you don't want to.
- deleted 3y ago[deleted]