note 103193 added to control-structures.alternative-syntax
| From: | SantiagoBasulto at osu1 dot php dot net | Date: | Wed, 30 Mar 2011 22:24:00 +0000 |
| Subject: | note 103193 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178366@lists.php.net to get a copy of this message | ||
Really "pythonic".
I really think this syntax is more simple and readable than the other with braces.
I've been coding Java for 5 years, and python for just some months, and the difference is
notable.
For all those beginners i'd recommend this syntax.
----
Server IP: 69.147.83.197
Probable Submitter: 190.188.65.133
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/103193
Del: integrated -- https://master.php.net/note/delete/103193/integrated
Del: useless -- https://master.php.net/note/delete/103193/useless
Del: bad code -- https://master.php.net/note/delete/103193/bad+code
Del: spam -- https://master.php.net/note/delete/103193/spam
Del: non-english -- https://master.php.net/note/delete/103193/non-english
Del: in docs -- https://master.php.net/note/delete/103193/in+docs
Del: other reasons-- https://master.php.net/note/delete/103193
Reject -- https://master.php.net/note/reject/103193
Search -- https://master.php.net/manage/user-notes.php