Re: RFC: Traits for PHP
| From: | Geoffrey Sneddon | Date: | Wed, 20 Feb 2008 20:14:36 +0000 |
| Subject: | Re: RFC: Traits for PHP | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35656@lists.php.net to get a copy of this message | ||
On 20 Feb 2008, at 07:46, Sebastian Bergmann wrote:
Lars Strojny schrieb:Is there any reason why we cannot support multiple inheritance (which some other languages already do)? The only thing that needs to be clearly defined is sorting order. This avoids trying to create some entirely new functionality to do something where we can simply extend what we already do. -- Geoffrey Sneddon <http://gsnedders.com/>I think also for the sake of conceptual integrity separating interfaces clearly from traits is a good ideaInterfaces are about (multiple) interface inheritance and traits are about (multiple) implementation inheritance. This separation of interface inheritance and implementation inheritance is ... awesome :)