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,99f33f51845a7793 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-08 02:36:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: 'withing' problem Date: 04 Nov 2001 10:23:48 +0000 Organization: Pushface Message-ID: References: <3be27344$0$227$ed9e5944@reading.news.pipex.net> <3BE42900.7590E899@adaworks.com> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1005215714 nnrp-08:22060 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 4 Nov 2001 10:23:48 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:16041 Date: 2001-11-04T10:23:48+00:00 List-Id: Richard Riehle writes: > Simon Wright wrote: > > > If you are coming from a UML-based modelling environment, > > cross-dependency is entirely natural. It would be quite wrong to > > contort the model to cope with Ada's unfortunate limitations in this > > respect. > > Funny. I don't regard the current context clause (with) as a > problem, when one is designing in Ada. It is most certainly not an > "unfortunate limitation." Rather, the grumbling about it most often > reflects a lack of understanding, or acceptance, of the very strict > visibility rules of the language. As to the potential for circular > context clauses, these need not exist when one correctly designs in > Ada. Well, you see, I'm not at all sure one should be "designing in Ada". If your project was going to implement in C++, would you design in it? Do you think that software designed with mutual dependency is less reliable? less safe? more expensive? If there's a compelling argument, OK, otherwise I stand by "unfortunate limitation".