[GSOC] regular expressions beta is here
Adam D. Ruppe
destructionator at gmail.com
Thu Aug 11 10:56:17 PDT 2011
If it's worth anything, I use the out contracts in dom.d more as
checked documentation than for serious bug-finding.
For example:
Element appendChild(Element newChild)
out (ret) { assert(ret is newChild); }
body { ... }
I also use it from time to time to assert that a return value is not
null. The check itself isn't particularly useful, but I think it's
a nice bit of documentation.
Actually, IMO, in and out contracts should be in the generated
ddoc too.
More information about the Digitalmars-d
mailing list