Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35790 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76519 invoked by uid 1010); 25 Feb 2008 15:02:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76503 invoked from network); 25 Feb 2008 15:02:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2008 15:02:33 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:59901] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/A0-07350-888D2C74 for ; Mon, 25 Feb 2008 10:02:33 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m1PF2TWA004031; Mon, 25 Feb 2008 16:02:29 +0100 Date: Mon, 25 Feb 2008 16:02:31 +0100 (CET) X-X-Sender: derick@kossu.ez.no To: Stefan Marr cc: jvlad , Internals Mailing List In-Reply-To: <47BE014F.5020202@stefan-marr.de> Message-ID: References: <47BD207C.2080905@chiaraquartet.net> <47BE014F.5020202@stefan-marr.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Trait aliasing syntax suggestions From: derick@php.net (Derick Rethans) On Thu, 21 Feb 2008, Stefan Marr wrote: > jvlad schrieb: > > in other words, why to introduce such a new thing as trait instead of using > > classes and trait'ing them? > > I've introduced it as a separate notion from classes to avoid misconception > and problems occurring from conflicting properties and constant definitions. And that is something we need, as I had a hard time parsing the previous example without this. Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org