note 34667 deleted from language.basic-syntax.instruction-separation by didou
| From: | didou@php.net | Date: | Thu, 25 Sep 2003 12:45:46 +0000 |
| Subject: | note 34667 deleted from language.basic-syntax.instruction-separation by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57091@lists.php.net to get a copy of this message | ||
Note Submitter: LilAlantaBaller@aol.com
----
I highly agree with the "Defensive Programming", all though if you want to add another PHP
code and do not want to put a semicolon (;), then you can still do it and you can leave out the
semicolon, but then when you want to add on a code, just simply direct a semicolon to the PHP
scripting.
Then of course once you add that semicolon, you can continue on with the scripting you need to add
into that PHP space, but once you finish that added PHP script, then simply leave without a
semicolon.
This little maneuver I do all the time is called "Simple Adding", which the name truly
expresses the function it does.
Try it and it will be easier to move around and function with add-ons.