The Right Approach to Exceptions

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 20 15:23:42 PST 2012


On 2/20/12 4:44 PM, Juan Manuel Cabo wrote:
> HAhaha, it sometimes feel as though people are afraid that the Variant[string]
> idea is to never use plain old variables and never use exception subclasses. :-)
>
> On the contrary, the idea is so that plain old variables and exception subclasses
> can be created for the right reasons, and to remove cases where they need
> to be created for the wrong reasons.

Yah, I think there's a lot of confusion and consequent apprehension 
regarding this. Thanks for attempting to clarify things.

Andrei



More information about the Digitalmars-d mailing list