|
Posted by Tony Marston on 07/29/06 09:07
"Shelly" <sheldonlg.news@asap-consult.com> wrote in message
news:Lsvyg.4249$gF6.1672@newsread2.news.pas.earthlink.net...
>
> "Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in message
> news:ead9b9$nf2$1$830fa79d@news.demon.co.uk...
>> All I hear on this newsgroup is along the lines of "I have only been
>> programming for 5 minutes and have only ever used one OS (unix) and one
>> language (C or C++) and that is case-sensitive, so that's the way it is".
>> Not much of an argument, is it?
>
> Well, I have been coding for 43 years, starting with spaghetti-code
> Fortran. I like case sensitivity -- especially in Java where the casing
> tells you what kind of thingee it is.
That is only to cover up a deficiency in that language. In "proper"
languages it is easy to distinguish between a variable and a function:
- FOO is a variable whereas FOO() is a function.
- or in PHP, $foo is a variable and foo() is a function.
In neither of those examples does the language have any difficulty telling
the difference between a variable and a function of the same name,nor does
it insist that a particular case is used. Where programmers use different
case it is purely a *programmer* convention and not a *language* convention.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|