TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

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

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

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 23 Aug 2001 14:49:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
   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.

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.  But
it's not a big issue for me.  If it was in there, I would
have used it a lot (in fact, I _tried_ to follow the revision
process, but I missed the fact that this was dropped, and
therefore actually tried to use it a few times before
getting it through my head that it's "not Ada"

ATOM RSS1 RSS2