[wp-hackers] coding standards and practicality of use

Michał Środek michal at srodek.info
Sat Mar 10 18:45:50 UTC 2012


Hey there,

I think that none of your options are "correct". I prefer:

$blp->getInBetween()
$blp->leftOf()
etc.

Read about PSR-0 and similar to name your files, classes and functions
"correctly".

Btw. it's not a proper group to ask things like that because WP
developers use their own convention, which is very old(I guess it's
because of PHP4). Try to find "PHP Standards Working Group" on Google
Groups or download Zend Framework and take a look at it.

Warm Regards
Michał Środek


More information about the wp-hackers mailing list