scope() statements and return

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 6 20:19:05 PDT 2014


On 10/6/14, 7:25 PM, deadalnix wrote:
> On Monday, 6 October 2014 at 13:48:07 UTC, Andrei Alexandrescu
> wrote:
>> It's one of those designs in which there's little room to turn. We
>> wanted to (a) allow destructors to throw, (b) conserve information.
>> Offering access to all exceptions caught was a natural consequence. --
>> Andrei
>
> Note that if we reverse the chaining (like java does), then the
> loop problem mostly disappear. It is still possible to create it,
> you you got to actively look for it.

I knew Python has chaining but not Java. Got a reference handy? My 
searches suggest that in Java that's a manual technique only. -- Andrei


More information about the Digitalmars-d mailing list