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.
1 Comment »
RSS feed for comments on this post.
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…