note 48279 deleted from keyword.extends by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Jun 2009 19:04:09 +0000 |
| Subject: | note 48279 deleted from keyword.extends by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157025@lists.php.net to get a copy of this message | ||
Note Submitter: jo at durchholz dot org
----
Multiple inheritance, if designed properly into the language, most definitely is worth the trouble.
Solutions exist for all associated problems (including the name clash issue mentioned above -
identify a function by adding the name of the class where is was first defined, and all ambiguities
vanish; make the class identification optional if nonambiguous, and it's even
backwards-compatible).
The rub is that it's difficult to get a language design that's simple to use, efficiently
implementable, and applicable to a dynamically-typed language like PHP.