Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96699 invoked from network); 18 Dec 2010 19:08:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Dec 2010 19:08:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=jbondc@openmv.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jbondc@openmv.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain openmv.com from 64.15.152.204 cause and error) X-PHP-List-Original-Sender: jbondc@openmv.com X-Host-Fingerprint: 64.15.152.204 mail.ca.gdesolutions.com Received: from [64.15.152.204] ([64.15.152.204:60645] helo=mail.ca.gdesolutions.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/A4-05093-6A60D0D4 for ; Sat, 18 Dec 2010 14:08:22 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.ca.gdesolutions.com (Postfix) with ESMTP id B8A1C5D34; Sat, 18 Dec 2010 14:08:19 -0500 (EST) X-Virus-Scanned: amavisd-new at gdesolutions.com Received: from mail.ca.gdesolutions.com ([127.0.0.1]) by localhost (mail.ca.gdesolutions.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E8UakcOzXzbc; Sat, 18 Dec 2010 14:08:19 -0500 (EST) Received: from djbondc (modemcable083.208-56-74.mc.videotron.ca [74.56.208.83]) by mail.ca.gdesolutions.com (Postfix) with ESMTP id 534755D1A; Sat, 18 Dec 2010 14:08:19 -0500 (EST) To: "'Stefan Marr'" Cc: "'Larry Garfield'" , References: <89C52156-CF92-4DDB-8BA4-4ABF6883512C@stefan-marr.de> <201012132027.59678.larry@garfieldtech.com> <76C593EE-BCCA-4BBD-B625-B6AE9340B20C@stefan-marr.de> <001501cb9ed7$001bcbd0$00536370$@com> <208E296C-05F2-4375-8CE3-27C1469EE67A@stefan-marr.de> In-Reply-To: <208E296C-05F2-4375-8CE3-27C1469EE67A@stefan-marr.de> Date: Sat, 18 Dec 2010 14:08:18 -0500 Message-ID: <001d01cb9ee6$eeb69180$cc23b480$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acue2dw4cconfY3TRgyA78eHB0GMLQABUzZA Content-Language: en-ca Subject: RE: [PHP-DEV] Traits and Properties From: jbondc@openmv.com ("Jonathan Bond-Caron") On Sat Dec 18 12:33 PM, Stefan Marr wrote: > Hi Jonathan: > > On 18 Dec 2010, at 18:14, Jonathan Bond-Caron wrote: > > > Does the order of the declaration matter? > No, the order does not matter, and that is one of the key points of > traits compared to mixins or Python's way of multiple inheritance. > So, any kind of order-dependent solution would be inconsistent with > the design of traits. > > > though I'd be happy with simply E_FATAL until people start using > > traits > What do you mean by the second part? (until people start using traits) > Changing the design retrospectively does not seem to be the best > option? > Most likely not the best option, I think I'm saying I prefer E_FATAL But if users find it too restrictive / problematic, the auto-resolution "merge to the most restrictive modifier" could be added in a next release or an approach that's convenient to the code out there using traits & properties. That seems better than the other way around.