Assert

Reiner Pope some at address.com
Thu Jun 28 02:29:26 PDT 2007


David B. Held wrote:
> I think assert() will get fixed when we get AST macros.  It won't get 
> fixed by Walter, of course, but rather, by us.  Everyone will invent 
> their favorite assert(), and the builtin will only get called by Phobos. 
>  And then, 10 years down the road, Walter will be writing "The Design 
> and Evolution of D", where he will have to explain why assert(o) doesn't 
> do the obvious thing, even though everyone else's does. ;>
> 
> Dave

Sounds exciting. (although the prospect of accepting that assert is 
wrong just because it can be fixed is thoughtless.)

I know we're deep in const at the moment, but is there any news/thoughts 
on AST macros, to whet our appetites?


   -- Reiner



More information about the Digitalmars-d mailing list