scope() statements and return

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 4 14:44:43 PDT 2014


On 10/3/14, 8:01 PM, deadalnix wrote:
> On Friday, 3 October 2014 at 19:35:21 UTC, Andrei Alexandrescu wrote:
>> I guess I'm convinced it adds more complication than expressiveness!
>>
>
> True for return, but throw is a stupid limitation( as it do not prevent
> the scope to throw at all, simply forc to hide it, which is only worse).

Yah, nonlocal returns are odd but throw should be perfectly fine (and 
good to have). -- Andrei


More information about the Digitalmars-d mailing list