Re: Re: Before March 1st aka PHP 5.1 beta
| From: | Sebastian Bergmann | Date: | Fri, 18 Feb 2005 06:34:13 +0000 |
| Subject: | Re: Re: Before March 1st aka PHP 5.1 beta | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15085@lists.php.net to get a copy of this message | ||
Ron Korving wrote:
> is multiple inheritence something we might see appearing in 5.2 ?
The concept of Multiple Inheritance should be left to programming
languages that can properly deal with it (by letting the programmer
influence how inheritance collision can be resolved, for instance).
Multiple Inheritance is one feature that I do not want to see in PHP.
And since we have interfaces (for which we allow multiple inheritance) I
do not see a need for Multiple Inheritance; interfaces are a much
cleaner way to model.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69