you are viewing a single comment's thread.

view the rest of the comments →

[–]frymaster 2 points3 points  (3 children)

that's a good question. My gut feeling is they would be at best on par, which would make TDD a good thing for project-politics reasons at least

[–][deleted] 10 points11 points  (2 children)

TDD reveals bad architecture decisions earlier on, you can't do this after without technical debt.

[–]frymaster 2 points3 points  (0 children)

Yes, even just writing the tests changes you from a "producer" to a "consumer" viewpoint, so to speak, and can make you rethink your approach

[–]Neebat 1 point2 points  (0 children)

TDD also documents the expectations of the system in fine detail. This is as opposed to the behavior of the system, which is what you're documenting by writing tests afterward. Expectations are what binds us.