From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-18 00:52:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X "left hand side" repeater. Date: Wed, 18 Jun 2003 07:52:03 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1055922723 8544 129.241.83.78 (18 Jun 2003 07:52:03 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 18 Jun 2003 07:52:03 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:39378 Date: 2003-06-18T07:52:03+00:00 List-Id: Bill Findlay wrote: > On 17/6/03 17:59, in article e_GdnRh0ovFS1XKjXTWJkg@gbronline.com, "Wesley > Groleau" wrote: > >> But it seems to me that renames covers all the "wishes" >> so far except two. And it adds two: >> >> 1. It lets the programmer indicate that the occurrences of the LHS in the RHS >> are *necessarily* the same, and not contingently so, which makes the code more >> self-documenting. > > (Renaming does not achieve that.) Why doesn't it? >> 3. It allows more concisely readable code when the LHS is lengthy. > > (Renaming certainly does not achieve that - it requires me to write a block > to 'simplify' an expression.) Currently yes, but it doesn't need to. Preben -- This is Ada95 land. On quiet nights you can hear C programmers debug.