The Right Approach to Exceptions

Piotr Szturmaj bncrbme at jadamspam.pl
Mon Feb 20 17:09:57 PST 2012


Andrei Alexandrescu wrote:
> On 2/20/12 4:25 PM, Jonathan M Davis wrote:
>> I definitely think that we should favor putting data in member
>> variables, not
>> in a hashtable of Variants.

+1

> Whenever you put data in member variables you set yourself up for code
> bloat. Do you agree?

It's a problem of classes as a whole, not just exceptions. I'm afraid 
such 'pressure' will limit the use of classes in Phobos.


More information about the Digitalmars-d mailing list