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,604e0f87aa06eab6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-23 20:53:59 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: amir@iae.nsk.su (Amir Yantimirov) Newsgroups: comp.lang.ada Subject: Re: Imitation is the sincerest form of flattery Date: 23 Mar 2003 20:53:59 -0800 Organization: http://groups.google.com/ Message-ID: <5115eb96.0303232053.2fcc7d78@posting.google.com> References: <7eee7v4hpvj0i5s345uonlen5315rhiau8@4ax.com> <4dkea.75440$gi1.38045@nwrdny02.gnilink.net> <5115eb96.0303220201.44527637@posting.google.com> NNTP-Posting-Host: 81.1.215.198 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1048481639 3211 127.0.0.1 (24 Mar 2003 04:53:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Mar 2003 04:53:59 GMT Xref: archiver1.google.com comp.lang.ada:35644 Date: 2003-03-24T04:53:59+00:00 List-Id: "Dmitry A. Kazakov" wrote in message news:... > Amir Yantimirov wrote: > > > Dmitry A. Kazakov wrote in message > > news:... > > >> In my view to fully support ADT would mean that any of such type > >> interfaces would be available for private implementation. > > > > In my ideal world you don't need inhere anything: > > http://www174.pair.com/yamir/programming/interfaces.htm > > Maybe it is just a wording problem. Many dislike the word "inheritance". > (:-)) Oops. Sorry. Anyway, the idea is type functionality may be extended freely so it don't have to be specified in type declaration. > > >> ----- > >> (*) I intentionally omit type ... is tagged ..., because I believe > >> that *all* types have to be tagged. > > > > Not rare opinion. But I found it somewhere contradicting with you > > background :). Lots of types I works with has hardwired bits structure. > > Yes, but this does not mean that a hardwired bits cannot be "tagged". You > can have even Booleans "tagged". The idea is to have different > representations for Boolean and Boolean'Class. Fine. But what's the gain? I rarely needs any _polymorphic_ feature for such types above "this type is distinct four-byte thing". Amir Yantimirov