|
Posted by Wayne on 10/16/97 11:35
On 23 Dec 2005 01:04:06 -0800, tony@marston-home.demon.co.uk wrote:
>> You don't have to change your programming habits to match my programming
>> habits. You do, however, need to match the requirements of the language.
>
>The current requirement of PHP is that only variable names are
>case-sensitive. What I am doing is arguing against the proposal that
>function names also be made case-sensitive for no other reason than "to
>bring it into line with other languages".
Do you know why PHP functions are case-insensitive in the first place?
The original reason was because HTML tags were case-insensitive they
decided to also make PHP functions case-insensitive because it was
common (back in the day) to call PHP functions like tags <B><?php
somefunction() ?></B>
But guess what, in XHTML (and XML) tags are now case-sensitive too!
So even the original reason for PHP case-insensitive functions is now
gone.
>I will never, ever agree that case matters.
For the next 100 years, you're going to be really disappointed. Every
modern programming language of any consequence is case-sensitive. You
might not like it, but you're going to have to live with it.
[Back to original message]
|