note 78728 deleted from control-structures.alternative-syntax by danbrown
| From: | danbrown@php.net | Date: | Thu, 14 May 2009 16:48:29 +0000 |
| Subject: | note 78728 deleted from control-structures.alternative-syntax by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154606@lists.php.net to get a copy of this message | ||
Note Submitter: php dot net at eoasys dot com
----
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. ;-)