Newsgroups: comp.object,comp.lang.smalltalk,comp.lang.ada
Path: cantaloupe.srv.cs.cmu.edu!europa.chnt.gtegsc.com!news.sprintlink.net!simtel!news.kei.com!world!bobduff
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Has C++ had its day?
Message-ID: <DB0IGA.1Cq@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <NEWTNews.804269222.4596.sellers@sellers.sellers.com> <1995Jun29.153521.5115@rcmcon.com> <3t0p3f$hjl@theopolis.orl.mmc.com> <1995Jun30.212050.26112@merlin.hgc.edu>
Date: Sat, 1 Jul 1995 00:52:58 GMT
Lines: 17
Xref: glinda.oz.cs.cmu.edu comp.object:34078 comp.lang.smalltalk:25298 comp.lang.ada:31968

In article <1995Jun30.212050.26112@merlin.hgc.edu>,
James McKim <jcm@hgc.edu> wrote:
>In article <3t0p3f$hjl@theopolis.orl.mmc.com> Theodore Dennison <dennison@escmail.orl.mmc.com> writes:
>>Ada is a staticly-typed language, and it does not rely on inheritance
>>for subtyping. I believe the same goes for Modula-3 and Oberon.
>
>Hmm... Then I guess I should ask you the same question I asked an
>earlier Smalltalk poster. If you don't you inheritance to support
>subtyping, what _do_ you use it for?

Ada 95 is pretty new, but I think subtyping will be a major use of Ada
95's new inheritance feature.  (Unfortunately, Ada confuses the issue
by having something called a "subtype", which is completely different
from what OOP folks normally call a subtype.  But anyway, subtyping
in the OOP sense is supported.)

- Bob
