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-Thread: a07f3367d7,57f8540942f8e060 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!news-out.readnews.com!transit4.readnews.com!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Initialization and Finalization of limited object "returned" by a function Date: Sat, 13 Feb 2010 10:53:06 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <41b794ec-26b0-485e-a959-580a5b877a3b@f15g2000yqe.googlegroups.com> <8e09c20d-172e-42a2-b2ff-994863893523@h12g2000yql.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1266076374 27453 192.74.137.71 (13 Feb 2010 15:52:54 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 13 Feb 2010 15:52:54 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:bYZjwhs41ZL38+hIF6hfEkZoKVo= Xref: g2news1.google.com comp.lang.ada:9198 Date: 2010-02-13T10:53:06-05:00 List-Id: "Dmitry A. Kazakov" writes: > Nope, the mathematical notation for a tuple is as in Ada (a,b,c,...), so > should it be. Well, none of the following Ada operators use the standard maths notation: - * / ** <= >= /= and or not And named notation: Date'(Year => 2010, Month => February, Day => 1) is not standard maths notation -- it's superior to maths notation. In general, I find Ada programs much easier to read that math textbooks, so I'm reluctant to borrow too much from maths. >... I see no problem in having it ambiguous (overloaded). That's too much overloading, for my taste. No big problem from an implementation point of view, though. - Bob