Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
0x457
on Aug 18, 2022
|
parent
|
context
|
favorite
| on:
I have complicated feelings about TDD
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.
giantrobot
on Aug 18, 2022
|
next
[–]
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
on Aug 18, 2022
|
prev
[–]
Interesting. The method signature is usually the last thing I create.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: