TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Ben Brosgol <[log in to unmask]>
Wed, 14 Oct 1998 17:06:21 -0700
text/plain (30 lines)
Wes Groleau wrote:


BB>> I agree in general, but there is one pitfall in the case of OOP (which
by
BB>> the way is not unique to Ada).  If you misspell the name of a
subprogram
BB>> intended to override an otherwise implicitly inherited operation, then
you
BB>> do not override it even  though you think you have.  ....
>
>But this thread started with a question about Ada's advantages and
>disadvantages--if any :-) -- compared with other languages.  If they all
>have the same problem, it doesn't help Neil's report.


Hmm, how unusual: a thread that strays from the topic with which it was
started :-)

I suppose I should have changed the Subject line; sorry.

Actually I believe that Eiffel does not have the problem that I alluded to.
If I remember correctly, I think that you have to explicitly mark a routine
that overrides one that otherwise would be implicitly inherited.

Regards,

Ben Brosgol
[log in to unmask]

ATOM RSS1 RSS2