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,38730e01f356adfa X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: types and subtypes Date: 13 Mar 2006 13:14:20 -0600 Organization: LJK Software Message-ID: References: <1142251677.837212.109000@i39g2000cwa.googlegroups.com> <1142273325.634632.41020@j52g2000cwj.googlegroups.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1142277238 10044 192.135.80.34 (13 Mar 2006 19:13:58 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 13 Mar 2006 19:13:58 +0000 (UTC) Path: g2news1.google.com!news3.google.com!news.glorb.com!pln-e!lotsanews.com!news-peer1.sprintlink.net!news-chi-1.sprintlink.net!news.binc.net!kilgallen Xref: g2news1.google.com comp.lang.ada:3341 Date: 2006-03-13T13:14:20-06:00 List-Id: In article <1142273325.634632.41020@j52g2000cwj.googlegroups.com>, ada_student@yahoo.com writes: > Why doesnt Ada subtyping also denote derivation as in the > sense C++ base classes and derived classes do? Perhaps because: 1. They are different languages. 2. C++ did not exist at the same time. I haven't followed the whole discussion, but an Ada type can be derived from another Ada type. Subtypes are different.