Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35607 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3454 invoked by uid 1010); 19 Feb 2008 20:28:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3439 invoked from network); 19 Feb 2008 20:28:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2008 20:28:36 -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:47719] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/F5-55225-1FB3BB74 for ; Tue, 19 Feb 2008 15:28:36 -0500 Received: from [192.168.0.8] (xdsl-87-78-210-149.netcologne.de [::ffff:87.78.210.149]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Tue, 19 Feb 2008 21:28:30 +0100 id 0000000000020004.0000000047BB3BEE.00001085 To: Marcus Boerger Cc: php@stefan-marr.de, internals@lists.php.net, "'Johannes =?ISO-8859-1?Q?Schl=FCter=27?=" , 'Sebastian Bergmann' , 'Alexandre Bergel' , 'Falko Menge' , 'Sara Golemon' , derick@php.net In-Reply-To: <173732199.20080219175837@marcus-boerger.de> References: <001c01c87264$3c01b4e0$b4051ea0$@de> <173732199.20080219175837@marcus-boerger.de> Date: Tue, 19 Feb 2008 21:28:29 +0100 Message-ID: <1203452909.24580.9.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-4229-1203452910-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-4229-1203452910-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Marcus, Am Dienstag, den 19.02.2008, 17:58 +0100 schrieb Marcus Boerger: [...] > looks good to me. See more detailed thoughts in separate mail resonses. > The biggest issue I see is finding a syntax everyone likes. I can't agree more. > Personally I like everything but one tiny piece, that is you do '!method' > to ignore a method from a trait. Since renaming happens in a php array li= ke > style I would prefer to have that approach apply for ignoring methods as > well. The way to do that imo is 'method=3D>false' or 'method=3D>NULL' whi= ch both > should be obvious to PHP programmers that heard about Traits. The irritating thing is that currently it would be null =3D> 'oldmethod'. This is what I would critisize in general. I would prefer 'oldMethodName' =3D> 'newMethodName' instead. 'oldMethodName' =3D> null would be really cool. > Other than that I'd even appriciate it, if we could get this for 5.3. > I mean come on guys it is ready and a very nice solution to the code > reuse problem. [...] This would be a killer feature for 5.3! How realistic is it to get this in? [...] cu, Lars --=_milch.schokokeks.org-4229-1203452910-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) iQIcBAABAgAGBQJHuzvsAAoJECQPF+sCY6wH/gsP/Ag2t37EsXPTHBsBynttylRZ xn+g9XswOaAGoq6WGBv+rNPc2ekRMTjF4QHX1g8UVLEP7dqFKZFx8bqf2F/K8DG0 0YIBF6/eUMf08PrzFCkOoBnahccNwLiqUWuxMpvEPtMi4qVJ+zGuCbwTbpb0EcSf L/hAroRcuKol91diKROp7Xy6KXKFJxkadvlrR2BoqrjdVVWDdjZmMtB+PhHqbStt RFktUl5DmBeDLSX5BoEVIOWnpi5q8SNT9IJUVkpMurRp/OaiO/E5n8vNGlPXDlOT PsqCYrweIm5aleY+t3fUVncaQ6xQTtQZr33YKljPSihvh4p0b8liT4Q2MmWfZigV DexAinYvV4I+YaF1jDgmYzueNDN0zE1dqszfxWLIsOpJmU4zwhOWNHnG9Yyul1Yt co56yD+i4ZYCrosob7ceVG4b7tN7ShDA/wuV0fFerxUVxURudiuLFPSstNO56Qjj uf91x5wN/pWia5vemqn2t2wXPf7zqvZ0a3gtW2luy5si8YJ2VlZd988hf/6KA1qi oGy0SshpJJA5fgWrE/Lv8bm+2QnkG+ixDjr/1ytz3TyBvZ/mVE/PhsO2UVCBvvhg sIfmsj3ZvelT2B84ZL1ghdSmVYIxPlZHF1IxS0XR9/IG0h0u1mPQUQMjPaQ+DUpQ DduqEkmWsX3WrBPGlCsz =ipmD -----END PGP SIGNATURE----- --=_milch.schokokeks.org-4229-1203452910-0001-2--