Test Driven Development
Noel Llopis wrote a very interesting article (two, to be exact) about TDD. I've to admit that while I use unit tests extensively, I've some problems with employing TDD (talking about my "home" project). I'm not giving up hoping it's one of these things that have to "click" and then it goes easier. One of the best introductory articles I know is this. Noel lists advantages of TDD in his text, I'll add one more, the most appealing to me - programs written using TDD tend to have really nice, simple interface. Sometimes, when one designs things traditionally he may overcomplicate things, not care about the user so much. Result is that you have to write 15 lines to create mesh for example (create renderer, register factories and whatnot). With TDD you just put yourself in the client's shoes, you work on interface first.
Side note: next week I'm going to my first GDC, can't wait! Hope to meet you guys there!
Side note: next week I'm going to my first GDC, can't wait! Hope to meet you guys there!

0 Comments:
Post a Comment
<< Home