From: guerby@gnat.com (Laurent Guerby)
Subject: Re: "use" clauses and Ada 95 OOP
Date: 1996/07/23
Date: 1996-07-23T00:00:00+00:00 [thread overview]
Message-ID: <ws9spajgc6m.fsf@schonberg.cs.nyu.edu> (raw)
In-Reply-To: SCHMID.96Jul22104727@alta.ide.com
Mitch> [...]
Mitch> But my point is that a naive Ada 95 reader might think that the
Mitch> call
Mitch> pkg1.func(x)
Mitch> calls the code that is in the body of pkg1. The syntax in fact
Mitch> implies that strongly. [...]
This notation implies that the specification is in pkg1, and the
specification is the important thing, since it's here I'll find the
documentation (no need to look at the body ;-).
And for dispatching calls, finding the body can be done only at
run-time most of the time. If surprising things can happen, better
document it at the calling point.
--
Laurent Guerby <guerby@gnat.com>, Team Ada.
"Use the Source, Luke. The Source will be with you, always (GPL)."
next prev parent reply other threads:[~1996-07-23 0:00 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-17 0:00 "use" clauses and Ada 95 OOP Mitch Gart
1996-07-19 0:00 ` Robert I. Eachus
1996-07-23 0:00 ` Robert I. Eachus
1996-07-25 0:00 ` JamesS1889
1996-07-23 0:00 ` JamesS1889
1996-07-23 0:00 ` Robert Dewar
1996-07-24 0:00 ` Robert I. Eachus
1996-07-24 0:00 ` Jon S Anthony
1996-07-19 0:00 ` Jon S Anthony
1996-07-19 0:00 ` James A. Squire
1996-07-22 0:00 ` Stephen Schmid
1996-07-23 0:00 ` JamesS1889
1996-07-23 0:00 ` Mitch Gart
1996-07-23 0:00 ` Robert Dewar
1996-07-25 0:00 ` JamesS1889
1996-07-26 0:00 ` Robert A Duff
1996-07-23 0:00 ` Robert A Duff
1996-07-23 0:00 ` Kevin J. Weise
1996-07-23 0:00 ` Kevin J. Weise
1996-07-23 0:00 ` JamesS1889
1996-07-23 0:00 ` JamesS1889
1996-07-23 0:00 ` Laurent Guerby [this message]
1996-07-23 0:00 ` Robert A Duff
1996-07-24 0:00 ` Jon S Anthony
1996-07-24 0:00 ` Jon S Anthony
1996-07-20 0:00 ` James A. Squire
1996-07-21 0:00 ` Robert A Duff
1996-07-22 0:00 ` Jon S Anthony
1996-07-23 0:00 ` Jon S Anthony
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox