You are here: Re: Breaking backwards compatibility - good or bad? « PHP Programming Language « IT news, forums, messages
Re: Breaking backwards compatibility - good or bad?

Posted by Tony Marston on 01/01/06 12:49

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:oaSdnebEW7VynirenZ2dnUVZ_tqdnZ2d@comcast.com...
> Colin Fine wrote:
>> Jerry Stuckle wrote:
>>
>>> Tony Marston wrote:
>>>
>>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>>> news:LYmdnewR-c7gxzDenZ2dnUVZ_sydnZ2d@comcast.com...
>>>>
>>>>> It really doesn't matter if you agree or not. The fact is the vast
>>>>> majority of programmers in this world disagree with you.
>>>>
>>>>
>>>>
>>>>
>>>> Are you saying that the vast majority of programmers would agree with a
>>>> language that allowed the same variable or function name to exist in
>>>> different mixtures of upper and lower case, and for each combination of
>>>> case to have a different meaning? That would make it far easier to
>>>> write unmaintainable code. Would that be a good or a bad thing?
>>>>
>>>
>>> They would agree with a languages that allows the same variable or
>>> function name to exist in different mixtures of case. After all, 'a' is
>>> NOT the same character as 'A'.
>>>
>> True. But 'a' is the same WORD as 'A'. And most variable names are (or
>> are made of) words.
>>
>> Colin
>
> 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.

Is there any computer language which has built-in function and variable
names which come with different capitalisation to me different things? If
they do not make use of this feature, then why provide it in the first
place?

Would any sensible programmer deliberately create the same function and
variable names with different capitalisation to me different things? Would
this make the program more or less maintainable? If no sensible programmer
would use this feature, then why provide it in the first place?

Your argument seems to be "It exists, therefore it must be good".

My argument is "It is not good, therefore it should not exist".

Tony Marston

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация