enforce()?

Michel Fortin michel.fortin at michelf.com
Wed Jun 16 11:44:29 PDT 2010


On 2010-06-16 14:10:17 -0400, Jonathan M Davis <jmdavisProg at gmail.com> said:

> I would point out that pretty much nothing in std.contracts actually relates
> to contracts. Rather, it relates to error handling. So, it would probably be
> a good idea to simply rename the module - perhaps to std.error.

I concur: the module is misnamed. The only things not related to error 
handling are assumeUnique and assumeSorted, and I fail to see the link 
with design by contract for either one.


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list