Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47641 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4182 invoked from network); 26 Mar 2010 09:39:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2010 09:39:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@stefan-marr.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@stefan-marr.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain stefan-marr.de from 85.88.12.247 cause and error) X-PHP-List-Original-Sender: php@stefan-marr.de X-Host-Fingerprint: 85.88.12.247 toolslave.net Received: from [85.88.12.247] ([85.88.12.247:38577] helo=uhweb12247.united-hoster.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/42-26248-4B08CAB4 for ; Fri, 26 Mar 2010 04:39:01 -0500 Received: from soft83.vub.ac.be ([134.184.43.183]) by uhweb12247.united-hoster.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Nv60C-0007ln-8a; Fri, 26 Mar 2010 10:38:56 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4BAC7DCA.2070508@easyflirt.com> Date: Fri, 26 Mar 2010 10:38:46 +0100 Cc: Lukas Kahwe Smith , David Soria Parra , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <1697D86E-D4DF-4FA4-9DA3-575E542090EE@stefan-marr.de> References: <690D1362-7F1D-47B9-A4BF-EEA9CF38C5B0@pooteeweet.org> <001601cacb74$0b037020$210a5060$@com> <9721DC06-BE10-49D0-BEDA-6B6FEB26B49D@stefan-marr.de> <5EE73B98-FC94-4110-BA74-189B547A7ED5@pooteeweet.org> <87B0F854-BB82-4125-84A4-34BD93049760@pooteeweet.org> <0168C42F-EDBC-48D2-B253-F452E3E67B81@stefan-marr.de> <4BAC7DCA.2070508@easyflirt.com> To: mathieu.suen X-Mailer: Apple Mail (2.1077) Subject: Re: [PHP-DEV] horizontal reuse: traits vs. grafts From: php@stefan-marr.de (Stefan Marr) On 26 Mar 2010, at 10:26, mathieu.suen wrote: > Variable has been discuss in *http://tinyurl.com/y9t7nd9 Right, and related to that we have freezable traits = http://scg.unibe.ch/scgbib?_k=3DNNRwidu5&query=3Dfreezable+traits&display=3D= abstract Which influenced this RFC for PHP: = http://wiki.php.net/rfc/nonbreakabletraits And there are traits based on lexical nesting, which does not seem to be = applicable to PHP at all: http://scg.unibe.ch/scgbib?_k=3DJ-wbMltV&query=3Dtom+cutsem+bergel However, it still comes with a relatively high complexity, and a lot new = concepts... The last time we had a lengthy discussion on this, and the conclusion = was, people are afraid of this additional complexity. That was my reason to design grafts. Best regards Stefan --=20 Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525