Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
0x457
3y ago
0 comments
Share
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.
0 comments
default
newest
oldest
giantrobot
3y ago
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.
lucumo
3y ago
Interesting. The method signature is usually the last thing I create.
j
/
k
navigate · click thread line to collapse