TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Jeffrey Carter <[log in to unmask]>
Thu, 23 Aug 2001 18:51:04 -0700
text/plain (27 lines)
[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

ATOM RSS1 RSS2