3 ms·
Test-Driven Development by Example, Kent Beck. If I could describe it in a sentence, it's for people who would procrastinate because they're not sure what to d
by muzani 5y ago
Test-Driven Development by Example, Kent Beck.
If I could describe it in a sentence, it's for people who would procrastinate because they're not sure what to do next.
There's a lot of philosophical differences from "modern" TDD. It's not about test coverage. In fact, Kent doesn't encourage doing the obvious.
It's using the tests to reduce cognitive load. You think about how it actually works before writing code. If you get stuck, you can do something like write a constant in the code to make the test pass, then convert that constant into an expression. If you're still stuck, write some more tests, then triangulate those into an expression that passes the tests.
It turns anxiety from this anxiety inducing, 4-hour flow requirement, into this sudoku puzzle. If you like the flow sessions, by all means, go with that, but it's an extra tool for when you don't have the energy or blocks of time.