Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


Interesting. The method signature is usually the last thing I create.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: