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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1a52c822fc0dbb23 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!news.belwue.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Rational for not making cursor tagged in Containers Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1176998738.656903.141250@q75g2000hsh.googlegroups.com> <1177010938.200523.325290@p77g2000hsh.googlegroups.com> <1a8y2vakorfhx.225uqh4hifpd$.dlg@40tude.net> <1177031884.096796.106370@e65g2000hsc.googlegroups.com> Date: Fri, 20 Apr 2007 09:53:40 +0200 Message-ID: <1ixi961jqu0qx.1dtcursmkem45$.dlg@40tude.net> NNTP-Posting-Date: 20 Apr 2007 09:53:40 CEST NNTP-Posting-Host: c7a760c5.newsspool4.arcor-online.net X-Trace: DXC=:eRF[:NO7B3QbA1[CgMQ004IUKkg2H@_oPG95:?8 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:15139 Date: 2007-04-20T09:53:40+02:00 List-Id: On 19 Apr 2007 18:18:04 -0700, Anh Vo wrote: > On Apr 19, 2:43 pm, "Dmitry A. Kazakov" > wrote: >> On Thu, 19 Apr 2007 16:45:36 -0400, Robert A Duff wrote: >> >>> There is an advantage: If you have type P1.T1, with operation Mumble, >>> and P2.T2 extends P1.T1, and X is of type T2, do I say "P1.Mumble(X, ...)", >>> or "P2.Mumble(X, ...)"? It's confusing, because it depends whether Mumble >>> is class-wide or dispatching, which is a conceptually minor >>> distinction. And it's not unusual to change from dispatching >>> to class-wide. The notation "X.Mumble(...)" avoids that confusion. >> >> (it replaces one confusion with several others) > > I do not understand what other confusions do you refer to. A confusion is in assumption that some arguments of an operation are more arguments than others. Another is that primitive operations belong to the object (instance). The third confusion raises from incompatibility of the prefix notation with multi-methods and multiple dispatching operations. > Other > advantage of prefix notation is that I do not have to fully qualify > nor apply use clause. When there is something wrong with use-clauses *that* should be fixed. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de