Re:What should every programmer know about programming?
by c00p3r on Wednesday September 15, 2010 @10:36PM
(#1696645)
Writing a test-cases based on business cases (domain knowledge) before any code is a good practice. It is that simple.
Re:What should every programmer know about programming?
by silentbicycle on Thursday September 16, 2010 @02:41PM
(#1698694)
I think it's better to have the spec be the code, as much as possible.
I'm in very strong agreement that automated testing (unit, regression, integration, etc.) pays for itself in most sufficiently large projects, but skeptical of TDD specifically - testing during exploratory programming often gives good feedback, but it's just one of many tools.