Re: request
| From: | Andrei Zmievski | Date: | Sat, 21 Apr 2001 15:25:09 +0000 |
| Subject: | Re: request | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52104@lists.php.net to get a copy of this message | ||
On Sat, 21 Apr 2001, Chuck Hagenbuch wrote:
> This could result in really confusing and unpredictable behavior if "the first
> encountered definition" changed under any circumstances. I'd vote for making
> any name conflicts an error.
You could have two classes both defining an innocent method toString(),
for example, and with your suggestion, inheriting from those classes
would cause a hard error? Why would "first encountered" definition
change?
-Andrei
It is commonly the case with technologies that you can get
the best insight about how they work by watching them fail.
-- Neal Stephenson