TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Jeffrey Carter <[log in to unmask]>
Date: Thu, 23 Aug 2001 18:51:04 -0700
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Reply-To: Jeffrey Carter <[log in to unmask]>
Parts/Attachments: 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