comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: Another important feature of Ada
Date: 2000/11/17
Date: 2000-11-18T08:12:06+00:00	[thread overview]
Message-ID: <8v5dkm$ftt$1@wanadoo.fr> (raw)
In-Reply-To: PM000376263FFF6F15@Dogen.ne.mediaone.net

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]


"Ed Falis" <efalis@mediaone.net> a �crit dans le message news: PM000376263FFF6F15@Dogen.ne.mediaone.net...
> In the end, it strikes me as a wash, since I can do more or less the
> same in Ada as Eiffel DbC using asserts and (in the case of gnat, pragma
> debug to provide inherited contracts and overrides).  The Eiffel DbC
> capabilities take less work to accomplish the same end.  The Eiffel
> ability to present only the interface in the IDE is less work than
> separately writing specs and bodies.  And fully deferred classes handle
> the pragmatic need for control of interfaces separate from
> implementations by different stakeholders.  Both languages accomplish
> similar goals, and it seems a matter of taste as to which to prefer.
> These languages have more in common than most.
>
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).

--
---------------------------------------------------------
           J-P. Rosen (Rosen.Adalog@wanadoo.fr)
Visit Adalog's web site at http://pro.wanadoo.fr/adalog






  reply	other threads:[~2000-11-17  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     ` Laurent Guerby
2000-11-15  0:00     ` Ed Falis
2000-11-17  0:00       ` Jean-Pierre Rosen [this message]
2000-11-18  0:00         ` Ed Falis
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               ` David Starner
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-18  0:00           ` Karel Thoenissen
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