Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47642 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7595 invoked from network); 26 Mar 2010 10:10:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2010 10:10:23 -0000 Authentication-Results: pb1.pair.com header.from=mathieu.suen@easyflirt.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mathieu.suen@easyflirt.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain easyflirt.com designates 91.199.255.56 as permitted sender) X-PHP-List-Original-Sender: mathieu.suen@easyflirt.com X-Host-Fingerprint: 91.199.255.56 python-06.easyrencontre.com Linux 2.6 Received: from [91.199.255.56] ([91.199.255.56:49445] helo=mail.easyflirt.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/B2-26248-D088CAB4 for ; Fri, 26 Mar 2010 05:10:22 -0500 Received: from [192.168.0.51] (office.easyrencontre.com [78.155.152.6]) by mail.easyflirt.com (Postfix) with ESMTPSA id 70E436374DD; Fri, 26 Mar 2010 11:10:18 +0100 (CET) Message-ID: <4BAC8808.6070400@easyflirt.com> Date: Fri, 26 Mar 2010 11:10:16 +0100 User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Stefan Marr CC: Lukas Kahwe Smith , David Soria Parra , internals@lists.php.net 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> <1697D86E-D4DF-4FA4-9DA3-575E542090EE@stefan-marr.de> In-Reply-To: <1697D86E-D4DF-4FA4-9DA3-575E542090EE@stefan-marr.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] horizontal reuse: traits vs. grafts From: mathieu.suen@easyflirt.com ("mathieu.suen") Stefan Marr wrote: > 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=NNRwidu5&query=freezable+traits&display=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=J-wbMltV&query=tom+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 > > > > Right I didn't like freezable traits as there are over-complicate for almost nothing. I don't see any relevant example for using the freeze operator. And the unfreeze is even more obscure. -- Mathieu Suen