Program logic bugs vs input/environmental errors (checked exceptions)

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 6 07:01:31 PDT 2014


On Mon, Oct 06, 2014 at 06:46:31AM -0700, Andrei Alexandrescu via Digitalmars-d wrote:
> On 10/5/14, 11:39 PM, Dmitry Olshansky wrote:
> >
> >It's obvious to me that one hierarchy is way to limiting for
> >exceptions, simply because there could be many ways to categorize the
> >same set of error conditions.
> 
> Well put. -- Andrei

What's the alternative, though? I can't think of any solution that
(1) isn't far more complicated than the current state of things and
(2) is easier to use.


T

-- 
"Holy war is an oxymoron." -- Lazarus Long


More information about the Digitalmars-d mailing list