Human unreadable documentation - the ugly seam between simple D and complex D

Tobias Pankrath via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 28 06:16:36 PDT 2015


> D has documented unittests (they appear in the docs as if part 
> of the Examples section).  The only excuses for example code in 
> Phobos to be untested are supposed to be that it is an 
> incomplete fragment or that it is old code from before we had 
> the feature.
>
>  — David

I added some just recently, because it wasn't possible to add 
unittest to the module level.

https://github.com/D-Programming-Language/phobos/blob/master/std/container/package.d


More information about the Digitalmars-d mailing list