note 78728 added to control-structures.alternative-syntax
| From: | php dot net at eoasys dot com | Date: | Wed, 24 Oct 2007 22:03:17 +0000 |
| Subject: | note 78728 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131711@lists.php.net to get a copy of this message | ||
In response to spa:
Yeah, that's for sure! Seems so obvious, but remains a tough sell... I avoid the "Bracket
Racket", and use it only where the (ahem) "Clearer Syntax" wasn't implemented.
A further improvement would be a "Noun-Verb" form of end structures. Such as:
if (...):
while (...):
...
if (...):
...
...
ifend;
...
whileend;
ifend;
This would make it yet another level of easier to tell which block end you're looking at. ;-)
----
Server IP: 69.147.83.197
Probable Submitter: 71.56.163.173
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/78728
Del: integrated -- https://master.php.net/note/delete/78728/integrated
Del: useless -- https://master.php.net/note/delete/78728/useless
Del: bad code -- https://master.php.net/note/delete/78728/bad+code
Del: spam -- https://master.php.net/note/delete/78728/spam
Del: non-english -- https://master.php.net/note/delete/78728/non-english
Del: in docs -- https://master.php.net/note/delete/78728/in+docs
Del: other reasons-- https://master.php.net/note/delete/78728
Reject -- https://master.php.net/note/reject/78728
Search -- https://master.php.net/manage/user-notes.php