On 03/04/2011 09:33 AM, Lars T. Kyllingstad wrote:
1. They should properly camelcased. fcmp, fnccharmtach, and fnmatch are
>  probably okay, but basename should definitely be baseName.
We probably couldn't disagree more. :)  I think fncharmatch is a horrible
name.  On the other hand, basename() is named after the 'basename' UNIX
utility, and doesn't mean anything on its own.  At least, I've never
heard of such a thing as the "base name" of a file, but please prove me
wrong.

I agree with Jonathan about 'baseName' (2 words ==> camelcased, e basta!) (*). And indeed names like 'fcmp' or 'fnccharmtach' should not even be allowed to live ;-).

Denis

(*) Except when the first part is a prefix / preposition, like input, output, subtype, supertype, transcode... in which case the name is or would be a single word in regular English.
--
_________________
vita es estrany
spir.wikidot.com

Reply via email to