News for hackers. Stuff that matters.
Re:Sussman anomaly by Chris2048 on Tuesday January 16, 2018 @05:57AM (#16157267)
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"...

There are no comments on this comment yet.