std.xml validity checking is absurd

Marco Leise Marco.Leise at gmx.de
Thu Feb 7 22:21:08 PST 2013


Am Thu, 07 Feb 2013 17:36:53 -0500
schrieb Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org>:

> 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

I'm just thinking that http://wiki.dlang.org/Phobos could be
extended by a review process check-list which includes
"correct use of DBC", "use of ranges where appropriate" and
whatever else is desired for Phobos. Another term would be
Quality Standards.

-- 
Marco



More information about the Digitalmars-d mailing list