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,a270a1fc28d4f812 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-21 12:37:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!wn1feed!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: Ed Falis Newsgroups: comp.lang.ada Subject: Re: OOD in Ada? Message-ID: <20020621153828.46ea7c71.efalis@attbi.com> References: <3d135676$0$8511$cc9e4d1f@news.dial.pipex.com> X-Newsreader: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.60.128.22 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1024688271 24.60.128.22 (Fri, 21 Jun 2002 19:37:51 GMT) NNTP-Posting-Date: Fri, 21 Jun 2002 19:37:51 GMT Organization: AT&T Broadband Date: Fri, 21 Jun 2002 19:37:51 GMT Xref: archiver1.google.com comp.lang.ada:26575 Date: 2002-06-21T19:37:51+00:00 List-Id: On Fri, 21 Jun 2002 17:20:13 GMT "Pat Rogers" wrote: > "David Crocker" wrote in message > > 1. The infamous "withing" problem (i.e. it is not possible to declare 2 > > classes A and B, each in its own package, such that A has a method taking a > > paremeter of type "access B", and B has a method with a parameter of type > > "access A"); and > > I have not found that problem to be frequent. Others will tell about how to > deal with it. There should be a writeup on John Volan's solution to this at www.adapower.com > The distinguished receiver syntax (the "dot notation") in no way indicates > whether or not dynamic dispatching occurs. In Eiffel and Java, for example, it > happens all the time, and for C++ you have to look at the function definition to > see whether or not it is marked virtual such that dynamic dispatch is even > possible. Similarly, in CLOS you look for "generic" functions. Whereas with Ada, the controlling arguments must be declared class-wide for dispatching to occur. - Ed