Conditional purity

Andrew Godfrey via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 29 07:39:24 PDT 2014


On Sunday, 25 July 2010 at 14:10:10 UTC, Simen kjaeraas wrote:
> bearophile <bearophileHUGS at lycos.com> wrote:
>
>> I suggest all people in all D newsgroups, to write code that 
>> runs, not uncompilable snippets. All errors in the last 
>> Walter's talk can be avoided in few minutes running the code. 
>> In Python newsgroups 90% of the code snippets are run before 
>> they are shown to people.
>
> Of course. But not always does time allow us such excesses. :p

Think of the time it costs us all when we incorporate an idea 
that doesn't work into our thinking.
Bearophile is right, I've been feeling this too.

Even worse, the documentation has code that doesn't compile.
This surprised me because D is so strong on unit tests and doc 
generation...


More information about the Digitalmars-d mailing list