[log in to unmask] wrote:
>
> raise <exception_name> when <condition>;
>
> was proposed and rejected during the 95 revision. I don't know whether
>
> return <expression> when <condition>;
>
> was proposed or not.
Both were proposed (along with "goto <label> when"), but none were
included in the revision.
>
> I understand and agree with the philosphy of not piling on
> a lot of low pay-off features, but I always wondered why
> this one was rejected. It seems to be a nice readability
> enhancement, not a degradation. It certainly can't be
> hard to implement after "exit when" is debugged.
This is how I felt, but STT disagreed.
--
Jeff Carter
"Son of a window-dresser."
Monty Python & the Holy Grail