Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35662 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28959 invoked by uid 1010); 20 Feb 2008 20:28:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28943 invoked from network); 20 Feb 2008 20:28:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2008 20:28:30 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 85.10.204.248 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 85.10.204.248 milch.schokokeks.org Received: from [85.10.204.248] ([85.10.204.248:52881] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/A4-30965-D6D8CB74 for ; Wed, 20 Feb 2008 15:28:30 -0500 Received: from [192.168.0.8] (xdsl-87-78-214-192.netcologne.de [::ffff:87.78.214.192]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Wed, 20 Feb 2008 21:28:26 +0100 id 0000000000020004.0000000047BC8D6A.0000039E To: Geoffrey Sneddon Cc: Sebastian Bergmann , internals@lists.php.net In-Reply-To: <1BBB7D29-95A9-4F9B-96DD-9AFEA37F4F71@googlemail.com> References: <001c01c87264$3c01b4e0$b4051ea0$@de> <1203461114.24580.45.camel@localhost> <1BBB7D29-95A9-4F9B-96DD-9AFEA37F4F71@googlemail.com> Date: Wed, 20 Feb 2008 21:28:25 +0100 Message-ID: <1203539305.29219.12.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-926-1203539307-0001-2" X-Mailer: Evolution 2.21.91 Subject: Re: [PHP-DEV] RFC: Traits for PHP From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-926-1203539307-0001-2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Geoffrey, Am Mittwoch, den 20.02.2008, 20:14 +0000 schrieb Geoffrey Sneddon: [...] > Is there any reason why we cannot support multiple inheritance (which =20 > some other languages already do)? The only thing that needs to be =20 > clearly defined is sorting order. This avoids trying to create some =20 > entirely new functionality to do something where we can simply extend =20 > what we already do. Did you read the academic paper about the purpose of traits? In short: traits fix the common misconceptions of multiple inheritance. The most common problem is risky and fragile hierarchies. Also traits do the right thing[tm]: they allow compositions, not =EF=BB=BFuncontrolable hotchp= otch architectures. cu, Lars --=_milch.schokokeks.org-926-1203539307-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJHvI1pAAoJECQPF+sCY6wHDucP+wasakpYm5sgE1yLwEcLYyF+ B1huI1XMACANcdT86SlK6+zYzLmZ5s7+nr5RoyQOwQ26cxF/ZvLIuJSeZvadlLnh hFTWaWuEOS2hfsAkayORJ6CGHhBD9rH9163JuqDFVPd7aKr4mlx6E94WmNZtarRS gnl+zQcqHkiCSx+W14Mf6vpWVH93ydKnWufLbHg8Pjsx7EwTr0DmAq9/J5br+wt/ 40TS34jZeIyIc9yB2n0Wp8b9yLaqOgMzEdG5q5cCjPmCmJuP++yRTbSW2EGxLNGH HJdh8s3uxiNGodPiKfn8O1f2cN7vm/Jcsds7U0H/H2ckLj1AZpodZNdj4xrYlKY6 imfOvw3YANxsrVe4swKluShfKRAskebTlhJk/Zse0dxeSaCCkbzNNgpNdiaQCZaA dXut46Z9nXRXLXOARLzc9vBDOAFU90GJshYTSM27HjfVp5rjIX/Qt5AuQqs7Nk3I kZgT3Lx1FqMcaiyT8CeS0usvq/v71yqjoQ5OnI9q2p2VH38rfs7jzu46ZCmW7e5g RoJmbZZsPc6w9oMEjqZo+l59KdOKu1Zr+CwT/b0U8mZoCBiTi89OxLc9Wo6CpNT8 Cn/fsjYZPkCXakXZhYQkREh7czxeMaUlqHM2WEXmbdGbEatGm/aO0qsIIxkdUONr PpBK8WY9/D/7QnvlBvJU =bIUN -----END PGP SIGNATURE----- --=_milch.schokokeks.org-926-1203539307-0001-2--