Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Why TDD Doesn't Lead to Dumb Code – By Kent Beck (tidyfirst.substack.com)
3 points by rbanffy 8 months ago | hide | past | favorite | 2 comments


>We start with: assert factorial(1) == 1

Part of the problem with discussions and tutorials about TDD is that they always used contrived, oversimplified, unrealistic examples which bypass to demonstrate or prove a point.

Sadly Kent Beck is not an exception to this.

The majority of criticisms of TDD dont really apply to "what if I were implementing factorial?" they apply to the kind of features an average dev would build.


TDD - Test driven development




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

Search: