Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55485 invoked from network); 25 Mar 2010 20:30:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2010 20:30:45 -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:50378] helo=uhweb12247.united-hoster.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/C8-11385-4F7CBAB4 for ; Thu, 25 Mar 2010 15:30:45 -0500 Received: from cust194-138.dsl.as47377.net ([62.166.194.138] helo=[192.168.0.16]) by uhweb12247.united-hoster.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NuthL-0004AT-Bx; Thu, 25 Mar 2010 21:30:38 +0100 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii In-Reply-To: <87B0F854-BB82-4125-84A4-34BD93049760@pooteeweet.org> Date: Thu, 25 Mar 2010 21:30:31 +0100 Cc: David Soria Parra , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: 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> To: Lukas Kahwe Smith X-Mailer: Apple Mail (2.1077) Subject: Re: [PHP-DEV] horizontal reuse: traits vs. grafts From: php@stefan-marr.de (Stefan Marr) On 25 Mar 2010, at 16:37, Lukas Kahwe Smith wrote: > Hi, >=20 > this was just brought up on IRC. my understanding is that traits have = no concept of properties, but grafts do (all hidden internally). = correct? Right, the Traits proposal as it is at the moment, avoids the explicit = discussion of state. This is not a restriction per se, but could limit the composability of = traits. To ensure composibility, you would have to resort to abstract methods = which are implemented by the composing class. 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