Friday, February 24, 2006

Test-driven development?

Today I wrote a function consisting of 4 lines of code. The unit tests for that function ran to 35 lines.

All that function did was to wrap a C-style function (with all the nastiness of caller-allocated buffers) in C++.

0 Comments:

Post a Comment

<< Home