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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,381db495fa3adf75 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!33g2000yqm.googlegroups.com!not-for-mail From: Jarno Newsgroups: comp.lang.ada Subject: Re: Package hierarchy. Extensibility. Date: Thu, 12 Mar 2009 18:31:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <91c9292b-d661-4744-bed2-b9c8a6305196@d19g2000yqb.googlegroups.com> <49b8b91d$0$14980$4f793bc4@news.tdc.fi> NNTP-Posting-Host: 85.175.87.112 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1236907893 4230 127.0.0.1 (13 Mar 2009 01:31:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 13 Mar 2009 01:31:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 33g2000yqm.googlegroups.com; posting-host=85.175.87.112; posting-account=zcHzhQoAAAC_EJAfJWHypS9JnqebSAaY User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:4093 Date: 2009-03-12T18:31:33-07:00 List-Id: Niklas Holsti: > An interface type that defines the common view of "Points" of > whatever representation? That would allow non-hierarchical and > independent implementations of the representations as long as every > representation implements this interface. Can you please post a simple example? Does interface means extendable type (=ABinterface=BB or =ABtagged=BB)? I think run-time dispatching would = be too much heavy. Seems that I need to organize a bunch of generic interconvertible types and still be able to add other representations later with minimal cost.