News for hackers. Stuff that matters.
Re:Is TDD Dead? (2014) by jacques_chester on Wednesday August 26, 2020 @11:47AM (#24283520)
> 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.

Re:Is TDD Dead? (2014) by terrortrain on Saturday August 29, 2020 @04:51PM (#24319339)
Writing types by hand is not any less wasteful than writing documentation.