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,b7bb302ee9d32439 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-22 10:52:45 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!news.eusc.inter.net!boavista.snafu.de!news From: Michael Erdmann Newsgroups: comp.lang.ada Subject: Re: Q: Refactorizing code because Inheritance and Interfaces Date: Tue, 21 Oct 2003 21:50:38 +0200 Organization: gnade.sourceforge.net Message-ID: References: <8lc761-u81.ln1@boavista.snafu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.eusc.inter.net 1066845165 7806 213.73.70.72 (22 Oct 2003 17:52:45 GMT) X-Complaints-To: abuse@eusc.inter.net User-Agent: KNode/0.7.1 Xref: archiver1.google.com comp.lang.ada:1447 Date: 2003-10-21T21:50:38+02:00 List-Id: Marius Amado Alves wrote: > Michael Erdmann writes: >> In order to line up the implemenation of the XML_Reader with the >> Abstract_Reader interface i need to rewrite the complete XML_Reader. >> Is there any way to avoid such situations? > > Yes. Formal packages. I'm planning a tutorial on this. Also takes care > of interfaces. What are formal packages? Do you mean generics in some sense? Michael