Sujet : Re: TeX and Pascal [was Re: The joy of FORTRAN]
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : alt.folklore.computers comp.os.linux.miscDate : 30. Sep 2024, 22:19:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdf4le$2cn51$6@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Pan/0.160 (Toresk; )
On Mon, 30 Sep 2024 10:24:30 +0100, Pancho wrote:
On 9/30/24 00:15, Lawrence D'Oliveiro wrote:
>
C3 linearization
Never heard of that before. It sounds far to difficult to understand in
practice.
But it makes the difference between multiple inheritance that
bewilders and confuses people, and multiple inheritance which makes
sense. It’s what lets Python have multiple inheritance that makes
sense.
Think about why languages like Java and PHP avoided multiple
inheritance, and substituted those lame “interfaces” instead: it was
to avoid this bewilderment and confusion that is known to plague C++,
because the right solution wasn’t known at the time.
Once you read the description, you realize it’s the only right way to
do things, and you wonder why everybody wasn’t already doing it this
way.
Here is the paper: “A Monotonic Superclass Linearization for Dylan”
<
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.19.3910&rep=rep1&type=pdf>