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-25 05:11:49 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Q: Refactorizing code because Inheritance and Interfaces Date: Sat, 25 Oct 2003 12:11:48 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <8lc761-u81.ln1@boavista.snafu.de> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1067083908 12481 134.91.1.34 (25 Oct 2003 12:11:48 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Sat, 25 Oct 2003 12:11:48 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:1655 Date: 2003-10-25T12:11:48+00:00 List-Id: Michael Erdmann wrote: : 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? Probably RM 12.7 Formal Packages