Re: wacky object idea
| From: | Hartmut Holzgraefe | Date: | Tue, 29 Aug 2000 15:55:26 +0000 |
| Subject: | Re: wacky object idea | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31087@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
> These are more or less the only text-book examples that there are; It's no
> coincidence that these are ALWAYS the examples given for overloaded
> operators. For most part, operator overloading is bad, and if the price is
> losing 'neat' notation for complex numbers, it's a worthy price, IMHO.
won't need them in PHP, sure, but as somone who has done developement
on scientific and engineering applications i have to *strongly* disagree
with the argumentation above
users who can really benefit from a given feature should not be
punished for the only reason that others might misuse it to
shoot themselves in the foot
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99