Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35764 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63094 invoked by uid 1010); 24 Feb 2008 05:23:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63079 invoked from network); 24 Feb 2008 05:23:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2008 05:23:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:54783] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/3E-30812-A6FF0C74 for ; Sun, 24 Feb 2008 00:23:55 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 24 Feb 2008 07:24:01 +0200 Received: from [192.168.17.67] ([192.168.17.67]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 23 Feb 2008 21:23:58 -0800 Message-ID: <47C0FF64.8060409@zend.com> Date: Sat, 23 Feb 2008 21:23:48 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: php@stefan-marr.de CC: Internals Mailing List References: <001c01c87264$3c01b4e0$b4051ea0$@de> <698DE66518E7CA45812BD18E807866CE014A8D9D@us-ex1.zend.net> <47BE0664.8060304@stefan-marr.de> <47BE0A09.6060702@lorenso.com> <47BE0CC4.1090202@stefan-marr.de> <005e01c874f1$8e139ed0$c6fc1f3e@foxbox> <47C077B6.4090503@stefan-marr.de> In-Reply-To: <47C077B6.4090503@stefan-marr.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Feb 2008 05:23:58.0338 (UTC) FILETIME=[74EC3E20:01C876A5] Subject: Re: [PHP-DEV] Re: Traits for PHP ... Why can't every Class be a Trait? From: stas@zend.com (Stanislav Malyshev) Hi! > In my opinion, traits is a thing developers has only to be aware of if > they really did like to use them. (iff proper tool support is available. > Guess it wouldn't be that way for VIM users, for example) I have little experience about how Smalltalk users look on other's code. I know, however, how PHP users always did it - they just read the code, since PHP is simple enough to be just read. Adding magic stuff like class methods that aren't class methods, names that aren't names, etc. makes it harder. Even if you don't use it, you'd have to know it if other code uses it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com