|
Posted by Tony Marston on 10/06/80 11:36
"Wayne" <not@here.com> wrote in message
news:cd7kr1duhou8qeh37tqi44lc3t41fkld5l@4ax.com...
> On Sun, 1 Jan 2006 10:49:17 -0000, "Tony Marston"
> <tony@NOSPAM.demon.co.uk> wrote:
>
>>> Not in C, C++, Java, etc. they aren't. And we're talking COMPUTER
>>> languages here - not HUMAN languages. Or can't you figure out the
>>> difference?
>>
>>But the point of this argument is that variable names such as 'box', 'Box'
>>and 'BOX' should all indicate the same variable, not different variables.
>>If
>>you really want to have three different boxes you would use names such as
>>'box1', 'box2' and 'box3' to avoid any confusion.
>
> I'd like to point again (although not necessarily for you Tony, more
> for Colin) that Human programmers, in case-sensitive languages, do use
> case to distinquish meaning.
>
> In Java, classes begin with an uppercase letter and
> variables/functions do not. And "box" and "Box" are commonly used
> together. In C, all capitals signals constants or types and BOX and
> box are commonly used together.
>
> Humans do these sorts of things. I'm not saying it's good or bad --
> I'm just saying that's how it's done.
Something which happens in a minority of languages should not be considered
as the standard for ALL languages. Just because *shit happens* does not make
*shit* the standard.
Navigation:
[Reply to this message]
|