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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!213.56.31.76.MISMATCH!nnx.oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Manifesto against Vector Date: Fri, 7 May 2004 08:49:20 +0200 Organization: Adalog Message-ID: <99cf7c.293.ln@skymaster> References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1083913459 599 195.25.228.57 (7 May 2004 07:04:19 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 7 May 2004 07:04:19 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: controlnews3.google.com comp.lang.ada:347 Date: 2004-05-07T08:49:20+02:00 List-Id: "Jeffrey Carter" a �crit dans le message de news:DXAmc.10133$Hs1.326@newsread2.news.pas.earthlink.net... > Jean-Pierre Rosen wrote: > > Oh no! It's one of the nicest features of Ada. The dependance graph > > of the program is hard-coded, you always know which module needs > > which module. > > Unfortunately, this is not always true. With tagged types and > dispatching, it is possible for a module to call an operation in another > module that is not "with"ed by the first module. > True if you are thinking in terms of call-graph. But you don't depend logically on something that you don't with. With tagged types, you are really calling an implementation (in another package) of something that you depend on - which is defined in a package that you have withed. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr