On 20 Feb 2008, at 07:46, Sebastian Bergmann wrote:

Lars Strojny schrieb:
I think also for the sake of conceptual integrity separating interfaces clearly from traits is a good idea

Interfaces are about (multiple) interface inheritance and traits are
about (multiple) implementation inheritance. This separation of
interface inheritance and implementation inheritance is ... awesome :)

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/>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to