You are here: Re: array() VS Array() « PHP Programming Language « IT news, forums, messages
Re: array() VS Array()

Posted by Andy Jeffries on 05/16/06 11:04

On Mon, 15 May 2006 23:20:58 +0100, Tony Marston wrote:
>> 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. A feature
> should not be introduced unless it has genuine benefits, and as the
> introduction of case-sensitivity does not solve a problem it is an
> unwanted solution.

I didn't say *all* computer languages, don't put words in my mouth.
Either that or your misread my intention.

If a language is case-sensitive for variable names and class members it
should also be consistent in that it's case-sensitive for functions and
class methods.

I'm not saying all languages should be case-sensitive, just that if one is
partially case-sensitive it should be consistently case-sensitive within
itself.

To be honest, I couldn't give a crap if Cobol, Haskell or C#/.Net is
case-sensitive, I'm a PHP programmer (at the moment) and would like my
number 1 language to be consistent.

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

 

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

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