Reply to Re: array() VS Array()

Your name:

Reply:


Posted by Andy Jeffries on 05/16/06 00:05

On Mon, 15 May 2006 11:58:50 +0100, Tony Marston wrote:
> But if a language allows the same name to mean different things if
> specified in a different case this could lead to code which is confusing
> and therefore difficult to maintain. It *should* be the primary objective
> of every language to avoid such features instead of deliberately
> implementing them. This is why the GOT verb is frowned upon and excluded
> from many languages, and why the ALTER verb in COBOL is considered an
> absolute no-no.
>
> In the English language a word has only one meaning regardless of case
> (such as 'dog', 'Dog' and 'DOG') so why should computer languages be any
> different?

Ryan's perfectly valid point aside (different capitalisation of Dog
meaning different things), I actually don't disagree with you entirely.
At least not enough to argue about.

However, I do feel any language ought to be consistent, if the variables
are case-sensitive the functions should be too. It makes the language a
lot more predictable in how it will behave.

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

[Back to original 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

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