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-22 20:39:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!csulb.edu!newshub.sdsu.edu!west.cox.net!cox.net!p01!news2.central.cox.net.POSTED!53ab2750!not-for-mail Message-ID: <3D153ABB.4090400@telepath.com> From: Ted Dennison User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: OOD in Ada? References: <3d135676$0$8511$cc9e4d1f@news.dial.pipex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 23 Jun 2002 03:05:48 GMT NNTP-Posting-Host: 68.12.51.201 X-Complaints-To: abuse@cox.net X-Trace: news2.central.cox.net 1024801548 68.12.51.201 (Sat, 22 Jun 2002 23:05:48 EDT) NNTP-Posting-Date: Sat, 22 Jun 2002 23:05:48 EDT Organization: Cox Communications Xref: archiver1.google.com comp.lang.ada:26614 Date: 2002-06-23T03:05:48+00:00 List-Id: Pat Rogers wrote: > "David Crocker" wrote in message > news:3d135676$0$8511$cc9e4d1f@news.dial.pipex.com... >>as an OO developer but Ada novice, it appears to me that any attempt to >>implement a large OO design in Ada will run into the following problems: >> >>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. Since you can't do it, it will eventally become second nature to design in such a way that it doesn't happen. When it does, I generally consider this the language's little way of telling me that my code needs to be better structured.