You are here: Re: Case sensitivity in programming languages. « PHP Programming Language « IT news, forums, messages
Re: Case sensitivity in programming languages.

Posted by Miguel Cruz on 12/14/86 11:54

"Tony Marston" <tony@NOSPAM.demon.co.uk> wrote:
> Exactly. What some people fail to realise is that keyboard input is slowly
> giving way to voice input, so imagine the difficulty of not only saying a
> word, but taking the time to identify the case of each individual letter.

Count me among those who have failed to realize that keyboard input is
giving way to voice input. It would take twice as long to speak a line
of code as to type it. Why would I want to waste my time doing that?

> As far as I am concerned the variable $foo is the same as $FOO is the
> same as $Foo. Any language which deliberately allows these variations
> to exist as separate entities is asking for trouble.

How do you feel about $FOO being different from $FO0? Or $fool being
different from $foo1? That causes confusion too. Boycott
alphanumeric-sensitive languages!

What about $abcdefghijklmnop being different from $abcdefghjklmnop?
Perhaps parsers should apply soundex matching or other spell checking
heuristics to variable names before coming to any hasty decisions about
which ones are the same or different.

miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu

 

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

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