Re: Ternary operator enhancement for fluent code
| From: | Stanislav Malyshev | Date: | Sun, 02 Jul 2000 09:08:23 +0000 |
| Subject: | Re: Ternary operator enhancement for fluent code | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23199@lists.php.net to get a copy of this message | ||
RL>> I really don't like magical operators like this. It may seem like a nice
RL>> thing when you are sitting there working on thousands of lines of code,
RL>> but when the next poor soul comes along and sees:
RL>>
RL>> if(!!$a) { $b = $c ?&? $d; }
Yeah, looks like Perl: print "%$&&@^&$!" if(!%$&&@^&$!);
Perl-ers invented English module just because of this.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665