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: 103376,5f0f4bfb0467bb19 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.33.71 with SMTP id p7mr16961697pbi.1.1317400184299; Fri, 30 Sep 2011 09:29:44 -0700 (PDT) Path: lh7ni8405pbb.0!nntp.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Constructors with multiple inheritance Date: Fri, 30 Sep 2011 12:29:43 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <11513972.2788.1317325228383.JavaMail.geo-discussion-forums@yqnv12> <1rj1mmkvwud1d.dzqoy4jhdfca$.dlg@40tude.net> <4976045.4489.1317352313370.JavaMail.geo-discussion-forums@yqjw35> <2pu3h5hqltxi$.ze4yrf1f2y8z.dlg@40tude.net> <23774546.1654.1317391464047.JavaMail.geo-discussion-forums@yqnk41> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1317400183 15542 192.74.137.71 (30 Sep 2011 16:29:43 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 30 Sep 2011 16:29:43 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:/5qdg/VlRS5FCqATY9JnzNgZTEI= Xref: news1.google.com comp.lang.ada:18238 Content-Type: text/plain; charset=us-ascii Date: 2011-09-30T12:29:43-04:00 List-Id: "Rego, P." writes: > Well, the prefixed notation if I understood well was made exactly for > filling this. For me it's not just sugar, since I use it frequently. Heh? "Sugar" doesn't mean "infrequently used". > I can even cite the Rationale for Ada 2005 pg. 33, "the Ada 95 object > oriented model has been criticized for not being really OO since the > notation for applying a subprogram (method) to an object emphasizes > the subprogram and not the object.". Yes, it's true that Ada 95 was criticized in that way. However, I think such criticism was complete nonsense. Whatever "object oriented" means, surely it doesn't have anything to do with notation. It's fine to use the prefix notation if you think it's more readable, but you shouldn't attach any semantic significance to it -- it really is just syntactic sugar. > ...So that's why I try not to use the package.function approach, and > one of the premisses of using the prefixed notation is "Y is the first > parameter of Op". You can't use an operation of an object to create that same object, because it doesn't exist yet. - Bob