From: ncmagel@ndsuvax.UUCP (ken magel)
Subject: inheritance
Date: Tue, 12-Aug-86 07:20:30 EDT [thread overview]
Date: Tue Aug 12 07:20:30 1986
Message-ID: <241@ndsuvax.UUCP> (raw)
If I have read the ADA Reference Manual correctly, it seems that ADA(r)
does support inheritance of the form used in Smalltalk-80 and other object
oriented languages. The inheritance occurs when one declares a new derived
type which then inherits all the operations already existing for the type
from which it was derived. One can use blocks to redefine operations if desired
One restriction is that the original subtype must be defined in a package and
the inherited operations are those defined in the package. This seems to
correspond almost exactly to the class of Smalltalk-80 even to the extent of
supporting class variables. If the packages involved were generic, one could
even build a system of classes and instances, each with their own variables
similar to the way object oriented programs are usually constructed.
reply other threads:[~1986-08-12 11:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox