On Wednesday, Dec 3, 2003, at 11:13 Europe/Copenhagen, Moriyoshi Koizumi wrote:
Derick Rethans <[EMAIL PROTECTED]> wrote:
On Wed, 3 Dec 2003, Sebastian Bergmann wrote:
Derick Rethans wrote:-[6] Method names follow the 'studlyCaps'
This is insane.
Whether you like it or not, most people who use programming languages
that support the paradigm of object-orientation use studlyCaps (or
whatever you want to call them).
It was not agreed on that this is a REQUIREMENT for all code, that's why
I removed it.
As far as I'm concerned, no such agreement that it is a requirement was made so far on this list... (correct me if I'm wrong)
OK. Let's make such an agreement then.
Just leaving it as a sort of recommendation would be enough. Personally I don't think it should be the standard, though I prefer studlyCaps even with PHP.
I think this is the worst possible option. We shouldn't repeat the same mistake as with the function names which lead us down the path of inconsistency from which we cannot recover.
Since most of the rest of the OO world (including PHP OO world) is using studlyCaps for method names, lets make that a standard for PHP OO APIs.
Edin
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php