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 Wayne on 01/03/06 08:49

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.

 

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

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