Re:I have complicated feelings about TDD
by 0x457 on Thursday August 18, 2022 @01:26PM
(#32512487)
The first test could be as simple as method signature check. Yes, you still have to make a design decision here, but you have to make it either way.
[ Parent
| on HN ]
Re:I have complicated feelings about TDD
by giantrobot on Thursday August 18, 2022 @02:03PM
(#32512914)
Then you need to keep the test and signature in lock step. Your method signature is likely to change as the code evolves. I'm not arguing against tests but requiring them too early generates a lot of extra work.