Re: Patch-tastic!
| From: | Alexander Wagner | Date: | Wed, 05 Jun 2002 16:54:04 +0000 |
| Subject: | Re: Patch-tastic! | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84899@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wre:
> Andrei Zmievski wrote:
> > The latest one changes some operators.
>
> Nice, but why not overload + for strings to do the concatenation?
No way. Many people don't know (think newbies here) what types their
variables have, and don't care.
This feature would quickly introduce more bugs into PHP-programs than
register_globals did in its entire lifespan.
Operators should be as type-independent as possible.
Only objects might be an exception.
regards
Wagner
--
When did ignorance become a point of view?