comp.lang.ada
 help / color / mirror / Atom feed
From: Ed Falis <efalis@mediaone.net>
Subject: Re: Another important feature of Ada
Date: 2000/11/18
Date: 2000-11-18T00:00:00+00:00	[thread overview]
Message-ID: <PM0003765BB967CEAE@Dogen.ne.mediaone.net> (raw)
In-Reply-To: 8v5dkm$ftt$1@wanadoo.fr

Jean-Pierre Rosen wrote:

> The importance of separating specs from bodies is *not* the ability to
> view them separatly, which can be accomplished with a tool as
> you note. It is the ability to compile the spec, and compile users of
> the spec before even thinking about the implementation.
> Therefore you can check the spec, and check that the spec matches the
> needs without being influenced by implementation constraints
> (which often leads to over-specification).

Yes, I should have mentioned that this is easily (and often) done in
Eiffel using completely deferred classes with assertions.  A deferred
class is similar to an abstract tagged type in a package.

I agree with your point about the value of being able to compile against
unimplemented specs - it's always been one of my favorite aspects of
Ada.  But the same effect can be achieved otherwise.

- Ed




  reply	other threads:[~2000-11-18  0:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-15  3:32 Another important feature of Ada James Rogers
2000-11-15  0:00 ` mjsilva
2000-11-15  0:00   ` Brian Rogoff
2000-11-17  0:00     ` Scott Ingram
2000-11-15  0:00 ` Mark T
2000-11-15  0:00   ` Tucker Taft
2000-11-15  0:00     ` Ed Falis
2000-11-17  0:00       ` Jean-Pierre Rosen
2000-11-18  0:00         ` Ed Falis [this message]
2000-11-18  0:00           ` pete
2000-11-19  0:00             ` Jean-Pierre Rosen
2000-11-19  0:00             ` James Rogers
2000-11-19  0:00               ` Ray Blaak
2000-11-20  2:39                 ` Robert Dewar
2000-11-20  7:43                   ` Ehud Lamm
2000-11-21  0:00                   ` Ray Blaak
2000-11-21  0:00                     ` Robert Dewar
2000-11-20  7:47                 ` Ehud Lamm
2000-11-19  0:00               ` David Starner
2000-11-18  0:00           ` Karel Thoenissen
2000-11-15  0:00     ` Laurent Guerby
2000-11-19  0:00 ` Lao Xiao Hai
2000-11-20  0:00 ` Michel Gauthier
replies disabled

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