"Try it now"

spir denis.spir at gmail.com
Thu Apr 14 05:07:39 PDT 2011


On 04/14/2011 02:56 AM, bearophile wrote:
> Andrei:
>
>> >  I disagree. I find examples that use assert() much clearer than examples
>> >  that print something to the console and then explain in a comment what
>> >  you ought to be seeing.
> I don't understand why you say that. Isn't learning and understanding based on feedback?

Precisely ;-)
That's why sane unittest blocks may/should output! One needs proper data to 
study / diagnose / debig what code *actually* does.

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list