2 ms·
I believe a similar problem affects TDD, and in general any methodology that assumed that longer processes are modularisable into smaller problems. Ask someone
by Chris2048 9y ago
I believe a similar problem affects TDD, and in general any methodology that assumed that longer processes are modularisable into smaller problems.
Ask someone to TDD a Sudoku, where the simple rules have inter-dependency. You can write three tests:
1) each column contains numbers 1-9
2) each row contains numbers 1-9
3) each box/subgrid contains numbers 1-9
But the solution must pass all simultaneously. The usual "write test, pass test" loop entails writing two lots of useless code if you try passing one/two alone - "write test, pass test, throw away what you just wrote cause the real crux is interdependence"...