Jan
18
2004

PHP Coding Guidelines

PHP coding guidelines : evolt.org, Backend

I’m posting this, because I’m working on a mailing list and need something to work with… however it is an interesting article and worth taking a look.

Not that I agree with much of it… lets see, Tabs vs. Spaces, I say spaces. Variable names I say $currentUser. Looping, oooh, I disagree… Where to put braces? I always put them on the same line as the loop, or subroutine call. Also why make a loop with one function call and 4 lines, do a oneliner!

Anyway, it’s cafeteria style programming… grab what you like.

Written by Aaron in: Software |

1 Comment »

  • PEAR Coding Standards
    I think Aaron was just edging me to post this and I really don’t even know why I’m actually doing it. But when it comes to coding standards for me I like doing it my own way, and if someone…

    Trackback | 19/1/2004

RSS feed for comments on this post.

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes