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

Posted by Tony Marston on 12/12/77 11:54

"Miguel Cruz" <spam@admin.u.nu> wrote in message
news:spam-1F75C1.01444602082006@localhost...
> "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?

I am not saying that it is a good idea, but there are others who do.

>> 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.

Words spelled differently are different words. The idea of a spell checker
in your IDE is just OTT.

--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org

 

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

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