|
Posted by Andy Jeffries on 05/16/06 11:04
On Mon, 15 May 2006 23:20:58 +0100, Tony Marston wrote:
>> However, I do feel any language ought to be consistent, if the variables
>> are case-sensitive the functions should be too. It makes the language a
>> lot more predictable in how it will behave.
>
> I'm afraid that the argument that all computer languages should enforce
> case-sensitivity "just to be consistent" is really pathetic. A feature
> should not be introduced unless it has genuine benefits, and as the
> introduction of case-sensitivity does not solve a problem it is an
> unwanted solution.
I didn't say *all* computer languages, don't put words in my mouth.
Either that or your misread my intention.
If a language is case-sensitive for variable names and class members it
should also be consistent in that it's case-sensitive for functions and
class methods.
I'm not saying all languages should be case-sensitive, just that if one is
partially case-sensitive it should be consistently case-sensitive within
itself.
To be honest, I couldn't give a crap if Cobol, Haskell or C#/.Net is
case-sensitive, I'm a PHP programmer (at the moment) and would like my
number 1 language to be consistent.
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
[Back to original message]
|