On Thu, Apr 11, 2002 at 01:33:40PM -0400, Erik Price wrote:
> http://utvikler.start.no/code/php_coding_standard.html

Uch! Uch! Uch!  I don't like their nesting ideas:
   if (condition)                 // Comment
   else                           // Comment

This is the standard I learned and find easier to read:
   if (condition) {
      # Comment
   } else {
      # Comment

http://www.perldoc.com/perl5.6/pod/perlstyle.html has some ideas too.  
But it also calls for "uncuddled elses."

Here's a link to another style guide 

In essence, you'll find that tastes vary.


               PHP classes that make web design easier
        SQL Solution  |   Layout Solution   |  Form Solution
    sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to