assert() vs. enforce(), invariant() vs. ... ?

Timon Gehr timon.gehr at gmx.ch
Fri Aug 30 14:55:37 PDT 2013


On 08/30/2013 11:43 PM, H. S. Teoh wrote:
>
>> >* scope: cute and dangerous in equal proportions - great for a movie
>> >character, terrible for language design.
> [...]
>
> What's so terrible about it?

I guess it is about the type system not (yet?) being expressive enough 
to make sure scoped class instances are not escaped.


More information about the Digitalmars-d mailing list