Re: c++ class design: where to put debug purpose utility class?
Bo Persson wrote:
> James Kanze wrote:
>> Which, of course, isn't true, because until you have at least
>> some idea as to what the class is to do, you can't write the
>> tests.
> Some people do, actually. :-)
>
> However it depends on how religious you are, and how strictly you want
> to follow the dogmas.
And how much benefit you'd like to get from forcing the implementation design to
emerge. Naturally, it might follow your preliminary sketches. But it might not.
Some people are not rigorous enough to design under such tight constraints...
--
Phlip
|