comp.lang.ada
 help / color / mirror / Atom feed
From: jsa@alexandria (Jon S Anthony)
Subject: Re: Invocation of Shadowed Implementations in Ada 95
Date: 1996/09/05
Date: 1996-09-05T00:00:00+00:00	[thread overview]
Message-ID: <JSA.96Sep5152213@alexandria> (raw)
In-Reply-To: 1996Sep4.163433.1@eisner


In article <1996Sep4.163433.1@eisner> kilgallen@eisner.decus.org (Larry Kilgallen) writes:

> Although it is in the spirit of Ada syntax, it seems to me inferior
> to the Macintosh Pascal approach of:
> 
> 	inherited Display (M);

Which gives no idea as to what is really going on - must look elsewhere
to see what is inherited.  Is it direct ancestor or remote?

> in that the Ada example requires revisiting many more procedures
> if the type hierarchy is changed (unlikely for the particular
> example given, but more likely in other situations).

Thereby preventing or at least reducing unexpected spurious behavior that
would have been very expensive to track down...

/Jon


-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com





  reply	other threads:[~1996-09-05  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-04  0:00 Invocation of Shadowed Implementations in Ada 95 Larry Kilgallen
1996-09-05  0:00 ` Jon S Anthony [this message]
1996-09-06  0:00   ` Larry Kilgallen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox