>Is there a style guide for coding practices used when creating code to be
>shared with the community?

PEAR has some, http://pear.php.net/manual/en/standards.php

I gave them a cursory glance, and they seem to be pretty solid -- in line
with standards that I used for the past year or so after realizing that my
old code was nearly indecipherable. They use the One True Brace Style,
which is encouraging:

        function fooFunction($arg1, $arg2 = '')
        {
            if (condition) {
                statement;
            }
            return $val;
        }

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html


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

Reply via email to