note 21655 added to control-structures.alternative-syntax
| From: | jakobaNOSPAM at jakoba dot com | Date: | Wed, 22 May 2002 09:59:05 +0000 |
| Subject: | note 21655 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30889@lists.php.net to get a copy of this message | ||
The alternate syntax appear to be mainly a "feature" to ease the transition for
programmers who previously wrote basic. There er no situation where the exact same algorithm cannot
be written with the normal syntax.
It is as unnessesary as the 2 (or is it 3?) alternate syntaxes for strings, and I would recoomend
that it be removed from the laguage as fast as possible.
smart => complex&confusing => bad.
simple => comprehensible&checkable => good.
KISS.
--
http://www.php.net/manual/en/control-structures.alternative-syntax.php
http://master.php.net/manage/user-notes.php?action=edit+21655
http://master.php.net/manage/user-notes.php?action=delete+21655
http://master.php.net/manage/user-notes.php?action=reject+21655