std.xml validity checking is absurd

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Feb 7 14:36:53 PST 2013


On 2/7/13 5:27 PM, Vladimir Panteleev wrote:
> On Thursday, 7 February 2013 at 22:22:09 UTC, Stewart Gordon wrote:
>> This is what I've found: Validity checking is done in an in contract!
>
> I've ran into the same problem with std.base64. DbC doesn't seem to be a
> generally well-understood concept.

That's why TDPL dedicates a whole chapter to it (separate from error 
handling!). Apparently that didn't make a dent in the Universe :o).

Andrei


More information about the Digitalmars-d mailing list