moreUselessArguments?

From: Date: Fri, 05 Dec 2003 11:24:50 +0000
Subject: moreUselessArguments?
Groups: php.internals 
Request: Send a blank email to internals+get-6227@lists.php.net to get a copy of this message
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 <hartmut@php.net>

« previous php.internals (#6227) next »