Test Driven Development
By Marcus Baker2004-01-25
Test then Code then Design
Conventional wisdom is on it's head here. By using tests locally we get all the benefits of testing, but get them immediately while we are actually working on the problem. Why wait until you have made loads of mistakes before correcting them? Fix them while they are fresh. Why try to come up with grand designs only to find that they are impractical? If you cannot get there from a working solution, chances are you cannot get there at all.
After two years of coding this way, if I am ever in that interview I will give a different answer now. "Test, code then design" If they ask me what happened to the debug phase I have only one answer...
"What's debugging?"
Tutorial pages:
|
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "Test Driven Development"
You must be logged in to post a comment.
Link to This Tutorial Page!

