3 ms·
Why TDD Doesn't Lead to Dumb Code – By Kent Beck
- pestatije 2y agoTDD - Test driven development
- pydry 2y ago>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.