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-Thread: 103376,aea4cc77526f5e4a X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!newscon02.news.prodigy.net!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Separate Compilation in Programming Languages Date: Tue, 26 Feb 2008 20:15:11 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <7xJvj.7420$Ru4.4246@newssvr19.news.prodigy.net> <5b9wj.4639$Mh2.1432@nlpi069.nbdc.sbc.com> <5Ekwj.10401$0o7.6822@newssvr13.news.prodigy.net> <%Ntwj.12620$Ch6.11402@newssvr11.news.prodigy.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1204074911 6634 192.74.137.71 (27 Feb 2008 01:15:11 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 27 Feb 2008 01:15:11 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:e/bcSNzooO+8JcrGmKgc0ZXni9s= Xref: g2news1.google.com comp.lang.ada:20115 Date: 2008-02-26T20:15:11-05:00 List-Id: Ray Blaak writes: > Ray Blaak writes: >> writes: >> > Further, the implementation of the Interface, with its extended signature is >> > in the same file with the algorithmic code. >> >> Actually no. This is highly unusual. The vast majority of implementation >> classes would reside in different files from their inferfaces. > > I think I misread this. Yes, or course, the implementation contains the > algorithmic code. That is the point. But clients need not see this class, and > thus are not impacted by changes to it. I initially misread it the same way you did, I think ("the interface is in the same file as...") but on second reading, I see Richard is correct -- "the IMPLEMENTATION OF the interface WITH ITS EXTENDED SIGNATURE is in the same file as...", here emphasized. I agree, though, that "clients need not see this class...". - Bob