comp.lang.ada
 help / color / mirror / Atom feed
* Another important feature of Ada
@ 2000-11-15  3:32 James Rogers
  2000-11-15  0:00 ` Mark T
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: James Rogers @ 2000-11-15  3:32 UTC (permalink / raw)


I have been following a thread between comp.lang.eiffel and
comp.lang.c++.moderated. The thread is boiling down to a discussion of
the virtues and vices of separating interface from implementation.

The points being made against sepration of interface and implementation
focus on a concept that duplication of code is BAD, and separation
of interface and implementation requires some duplication of code.

The points being made in favor of separation of interface and
implementation are that separation more fully supports the needs of 
large scale software development teams.

C++ supports this separation by means of the #include syntax inherited
from C. Of course, the problem with the #include syntax is that it
does not enforce the separation of interface and implementation. As 
in many other features of C/C++, this is left up to the discipline of
the software developer.

It is interesting that Ada has been cited as being possibly the perfect
example of a language fully supporting and enfocing the separation of
interface and implementation through the use of Ada bodies and
specifications.

Eiffel programmers feel separation of interface and implemenation is
not beneficial because large Eiffel programs have been constructed
without this feature.

This is like saying that we do not need to have hammers in our
toolbox. Any sufficiently large wrench can be used as a hammer with
success. It is also possible that those same Eiffel programmers have
never actually tried to produce large scale software, but only know
of someone who has. This would naturally lead to the assumption that
no particular problems were encountered due to a lack of separation
of interface and implementation.

Jim Rogers
Colorado Springs, Colorado



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2000-11-21  0:00 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-15  3:32 Another important feature of Ada James Rogers
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
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               ` 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 ` mjsilva
2000-11-15  0:00   ` Brian Rogoff
2000-11-17  0:00     ` Scott Ingram
2000-11-19  0:00 ` Lao Xiao Hai
2000-11-20  0:00 ` Michel Gauthier

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