comp.lang.ada
 help / color / mirror / Atom feed
* MI Hownotto by Betrand Meyer
@ 2006-10-28 13:54 Georg Bauhaus
  2006-10-28 17:11 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 4+ messages in thread
From: Georg Bauhaus @ 2006-10-28 13:54 UTC (permalink / raw)


This week's EiffelWorld column by Bertrand Meyer has a note
about construction procedures and multiple inheritance.
I thought it might be interesting given a recent discussion
in c.l.ada.

<quote ref="EiffelWorld Electronic Newsletter -- Vol. 33, No 2, Section 4">
In particular, multiple inheritance just doesn't go well with the
C++ idea, also retained in Java and C#, that a constructor (creation
procedure) must start its execution by calling the constructor of
its parent. As soon as you require this you are ruling out multiple
inheritance, since with two parents or more there's no good reason for
executing a particular parent's constructor before the others'; and
the situation becomes even more hazy when these parents have a common
ancestor -- repeated inheritance, the so called "diamond" structure.
Hence complicated rules that probably about twelve people in the world
understand, and fewer remember.</quote>






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

end of thread, other threads:[~2006-10-29 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-28 13:54 MI Hownotto by Betrand Meyer Georg Bauhaus
2006-10-28 17:11 ` Dmitry A. Kazakov
2006-10-29  3:39   ` Alexander E. Kopilovich
2006-10-29 14:19     ` Dmitry A. Kazakov

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