note 35393 deleted from language.operators by sniper
| From: | sniper@php.net | Date: | Mon, 13 Oct 2003 00:06:37 +0000 |
| Subject: | note 35393 deleted from language.operators by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58372@lists.php.net to get a copy of this message | ||
Note Submitter: php-note-NOSPAM-2003@ryandesign.de
----
cyrillic at zonnet dot nl is correct, but goodness I find his notation...
isset($foo) or $foo = 20;
...SO much less readable and understandable than the equivalent...
if (!isset($foo)) $foo = 20;
I have arguments with my coworkers about this. :-) Of course in Perl you could write...
$foo = 20 unless isset($foo);
...(if Perl had an isset() function) but I'm not thrilled with that notation either.