Re: Re: Traits for PHP ... Why can't every Class be a Trait?

From: Date: Sun, 24 Feb 2008 05:23:48 +0000
Subject: Re: Re: Traits for PHP ... Why can't every Class be a Trait?
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-35764@lists.php.net to get a copy of this message
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

« previous php.internals (#35764) next »