|
Posted by Chung Leong on 01/01/06 20:16
Jerry Stuckle wrote:
> Yep. And some people would rather take away the case sensitivity for
> variables than add case sensitivity for functions.
Personally, I would rather have case sensitivity in function name, but
only because it'd make things easier when you have to make calls from
Java/EMCAscript into PHP. I don't buy the argument that
case-sensitivity is inherently superior. And I'm definitely against
breaking backward compatibility.
> I'm for consistency. And I'm for case sensitivity in functions.
That's a bogus association. Case-sensitivity does not equal
consistency. If you don't like identifiers spelled in different cases,
then don't do it. I don't see how you can, on one hand, defer to
programmers' good judgement in choosing reasonable case-sensitive names
(e.g. using Kool() and kooI() for different functions), yet not trust
them to use case in a reasonable manner in a case-insensitive scenario.
You argument is, if you please, inconsistent.
[Back to original message]
|