🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.ada
Article #913

inheritance

#913
From: ken magel
Date: Tue, 12 Aug 1986 11:20
12 lines
1305 bytes
   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.  
Technical Details
Message-ID: <241@ndsuvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!meccts!dicome!ndsuvax!ncmagel

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!meccts!dicome!ndsuvax!ncmagel
From: ncmagel@ndsuvax.UUCP (ken magel)
Newsgroups: net.lang.ada
Subject: inheritance
Message-ID: <241@ndsuvax.UUCP>
Date: Tue, 12-Aug-86 07:20:30 EDT
Article-I.D.: ndsuvax.241
Posted: Tue Aug 12 07:20:30 1986
Date-Received: Fri, 15-Aug-86 20:40:08 EDT
Organization: North Dakota State University, Fargo, ND
Lines: 12