3 ms·
> Frankly good type systems displaced TDD for me. They do a better job getting at the goals of TDD than TDD does. I think it's a false dichotomy. Where you hav
by jacques_chester 6y ago
> Frankly good type systems displaced TDD for me. They do a better job getting at the goals of TDD than TDD does.
I think it's a false dichotomy. Where you have types, use types. Where you don't, use tests. Either way, get a tool to guide you to the answer and then check the invariant during future changes.
In fact TDD made me more aware of and appreciative of types. Writing types-by-hand is very tedious and wasteful.
- terrortrain 6y agoWriting types by hand is not any less wasteful than writing documentation.