[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Suitability of Lua as a First Programming Language?
- From: David Given <dg@...>
- Date: Tue, 22 Sep 2009 20:53:06 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Olivier Galibert wrote:
> Perhaps because these "standard answers" are high-grade bullshit? A
> pizza, a car or a (physical) window has never been part of a
> program. Equating structuration primitives with physical unrelated
> objects is not going to tell you how to use them or even what they're
> useful for in the first place.
The C++ FAQ Lite contains essential reading on this subject, and
explains clearly why the intuitive sense of inheritance doesn't actually
help. See 21.6 to 21.11 here:
The short summary is:
Q. Does Circle subclass Ellipse?
(Doesn't require detailed C++ knowledge!)
┌─── ｄｇ＠ｃｏｗｌａｒｋ．ｃｏｍ ───── http://www.cowlark.com ─────
│ "People who think they know everything really annoy those of us who
│ know we don't." --- Bjarne Stroustrup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----