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

IMO TDD should be by opportunity and not policy. That solves basically all the problems I have with it.

TDD is great because it forces you to concretize and challenge assumptions, and provides a library of examples for new devs to a codebase.



You are arguing for having tests and good coverage, not for doing TDD.


No, I am arguing for TDD, specifically, writing tests before code. It feels like a superpower when it works. Maybe that's for a whole program or only small parts of it.




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

Search: