two more things that i don't remember from the previous fla^H^H^Hthread
(mentioned here for completeness)

pro Caps:

for the member function names themselves i still think that
underscores improve readability, but when seen in the complete context

$object->method_name, $object_method->name and $object->method->name

look rather similar while

$object->methodName, $objectMethod->name and $object->method->name

don't

(this is even worse in java where you use . instead of -> )

i think this argument has way more substance than the "tradition" one ...


contra Caps:


PHP 5 may now be case preserving but other tools we use
aren't. Especially the docbook toolchaings we use for manual generation
lowercase all identifiers when creating HTML files (to cooperate with
case insensitive file systems)

OTOH we also have issues with underscores here as some older SGML
tools do support '-' but not '_' in id attributes and the case that
we have methods like "foobar" and "fooBar" that would be rendered to
the same filename is not that likely anyway ...






-- Hartmut Holzgraefe <[EMAIL PROTECTED]>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to