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, 00:15:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdcn1q$1tmdr$5@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Pan/0.160 (Toresk; )
On 29 Sep 2024 20:55:59 GMT, rbowman wrote:
Part of the problem with C++, at least in the beginning, were the books
claiming to teach the language. C++ has classes; everything has to be a
class. C++ has inheritance; Dog goes 'woof' Cat goes 'meow'.
Also it tries to do multiple inheritance, but Stroustrup never quite
figured out how to do that right. C3 linearization was invented later,
by the folks working on Dylan at Apple. It is the method that Python
uses
<
http://python-history.blogspot.com/2010/06/method-resolution-order.html>;
I suppose the reason why C++ can’t adopt it is it would break backward
compatibility or something.