Reply to Re: array() VS Array()

Your name:

Reply:


Posted by Gary L. Burnore on 05/16/06 01:35

On Mon, 15 May 2006 23:20:58 +0100, "Tony Marston"
<tony@NOSPAM.demon.co.uk> wrote:

>
>"Andy Jeffries" <news@andyjeffries.co.uk> wrote in message
>news:pan.2006.05.15.21.05.13.959574@andyjeffries.co.uk...
>> 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.
>
>Rubbish. The letters 'd', 'o' and 'g' spell 'dog' and mean the same thing
>regardless of case. take the following three sentences:-
>1) beware of the dog
>2) Beware Of The Dog
>3) BEWARE OF THE DOG.

The word god and God have different meanings to some. Does that help?


>Do these sentences mean the same thing or not? Does the meaning change just
>because the case changes?
>
>> 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.
>
>I'm afraid that the argument that all computer languages should enforce
>case-sensitivity "just to be consistent" is really pathetic.

Of course it is.

> A feature should not be introduced unless it has genuine benefits,

Tell that to microsoft.

--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.| Official Proof of Purchase
===========================================================================

[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

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