assert semantic change proposal

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 8 07:26:14 PDT 2014


On Fri, Aug 08, 2014 at 07:15:22PM +1000, Daniel Murphy via Digitalmars-d wrote:
> "H. S. Teoh via Digitalmars-d"  wrote in message
> news:mailman.684.1407434193.16021.digitalmars-d at puremagic.com...
> 
> >Hmph. Now it's making me wonder if preconditions should be treated as
> >a *single* assert outside the body of 'in{}', rather than allowing
> >individual asserts inside. Perhaps the body of 'in{}' should return a
> >boolean where false indicates a failed precondition,
> 
> I think that ship has sailed.

I know. It was more of a wish than anything.


T

-- 
Don't modify spaghetti code unless you can eat the consequences.


More information about the Digitalmars-d mailing list