From: MenTaLguY Date: 2007-10-07T08:50:15+09:00 Subject: Re: The Case for Multiple-Inheritance --=-ekyV+iJIpOhezfxJ5hop Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2007-10-07 at 08:38 +0900, MenTaLguY wrote: > This is because the requirements of dynamic method dispatch introduce > additional constraints on subclassing which violate some of the laws a > simple transitive relationship like "is-a" might reasonably be expected > to obey. Actually, I guess this applies to having methods in general. The classic ellipse-versus-circle thing is a great example: "is-a" in the model domain (shapes) is exactly the opposite from "is-a" in the class domain, at least in terms of Liskov substitutability. -mental --=-ekyV+iJIpOhezfxJ5hop Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHCB84SuZBmZzm14ERAqjGAJ9rkEuy8AVX8DJsl94rIdXsNlxvoACfU/fQ YMfB7xHDp8MMdkn3wmQickU= =8BZF -----END PGP SIGNATURE----- --=-ekyV+iJIpOhezfxJ5hop--