Re: PHP 5.1
| From: | Stig S. Bakken | Date: | Thu, 03 Feb 2005 16:47:50 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14573@lists.php.net to get a copy of this message | ||
On Thu, 3 Feb 2005, Sebastian Bergmann wrote:
> Andi Gutmans wrote:
> > Comments/Flames/Praises to this list :)
>
> Just curious: Have you considered adding the operator overloading
> patch [1] by Johannes Schlüter that has been floating around for a
> while?
Operator overloading in PHP? Over my smoking carcass!
PHP 5 returns object handles, which lets you do _exactly_ the same thing,
only without the obscurity.
Nobody needs overloaded operators. Code should be readable, not
cuddly-cute.
- Stig