|
Posted by Shelly on 08/03/06 22:59
"Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in message
news:easnt1$67b$1$8300dec7@news.demon.co.uk...
>
> "Shelly" <sheldonlg.news@asap-consult.com> wrote in message
> news:CF8Ag.3576$0e5.3548@newsread4.news.pas.earthlink.net...
>> You have yet to demonstrate **WHY** you believe it produces errors.
>
> Instead of repeating myself I shall point you to
> http://www.tonymarston.net/php-mysql/case-sensitive-software-is-evil.html
Excuse me, but having read the article at this link, it never addresses the
question I asked. Not ONCE did you show where case sensitivity produces
errors. Please go to
http://www.tonymarston.net/php-mysql/case-sensitive-software-is-evil.html to
locate you supposedly answered my question. Then, please, copy and paste
the statement that you think answers my question.
I am reminded of what many of my students have done in the past. They
worked through a problem and gave an answer. The only thing wrong was that
it wasn't answering the question asked.
>
>> Frankly, any time I even mistyped a name, the compiler barfed out that
>> this was an undeclared variable or method.
>
> Great. So your compiler did not allow you to reference anyhing in a
> different case. But did it actually allow you to create several variabes
> or methods with exactly the same spelling but different case? If the
> language does not allow it, then there is no real problem. It only becomes
> a problem when the language DOES allow it.
The language DID allow case. It was PHP. By the way, you keep saying that
PHP is case insensitive. That is not my experience. Run the following code
snippet:
<?php
$Junk = "this is junk";
echo "Junk = " . $Junk . "<br>";
echo "junk = " . $junk . "<br>";
?>
Clearly, PHP is case sensitive!
>> No big deal. In **MY** OPINION, that little incovenience is **GREATLY**
>> outweighed by the ability to read someone else's code and know right away
>> what it is all about.
>
> Most languages don't use case to identify wheter something is a constant,
> variable, function, or method, so the use of case is irrelevant.
The direction is to use case in modern languages to make these distinctions.
Yes, it is currently by convention, but in JAVA, at least, it is a
UNIVERSALLY observed convention by ALL professional programmers.
>> Apparantly the vast majority of professional programmers agree with me
>> because that is the direction in which all the newer languages are
>> going -- even something as new as PHP.
>
> But people won't complain unless they hit problems, and I've seen
> complaints from programmers who have suddenly been hit with a bug that
> turns out to be case-related. I still hold the opinion that case
> sensitivity causes problems instead of solving them, and I have seen no
> evidence to the contrary.
.....and you still have not as yet detailed even a SINGLE problem caused by
case.
Shelly
Navigation:
[Reply to this message]
|