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,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-20 00:42:00 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.cilea.it!news.crs4.it!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: idem (Was: += in ada) Date: Mon, 20 Oct 2003 09:41:39 +0200 Organization: CRS4, Center for Adv. Studies, Research and Development in Sardinia Message-ID: <3F9391B3.1080001@crs4.it> References: <3F7316F7.219F@mail.ru> <17cd177c.0310010606.52da88f3@posting.google.com> NNTP-Posting-Host: sparre.crs4.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: pietro.crs4.it 1066631185 26099 156.148.70.170 (20 Oct 2003 06:26:25 GMT) X-Complaints-To: news@nntpserver.crs4.it. NNTP-Posting-Date: 20 Oct 2003 06:26:25 GMT User-Agent: Any Browser, HTML 4.01, XHTML 1.0 X-Accept-Language: fo, da, no, sv, is, fr, de, it, In-Reply-To: Xref: archiver1.google.com comp.lang.ada:1181 Date: 2003-10-20T06:26:25+00:00 List-Id: Preben Randhol wrote: > The problem I have with idem is that it looks like just another > variable. Yes. But it is a cool idea. And with a suitable idem marker, I think it would make it possible to write even more readable code. Also, "idem" doesn't look any more like another variable than the operators "and", "or" and "not". What I worry most about with idem is that it would make the expression syntax used in assignments different from that used in other places. Jacob -- "... while the C compiler will happily generate code for almost anything produced by leaning on the keyboard."