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 08/11/06 14:16

"Stan McCann" <me@stanmccann.us> wrote in message
news:Xns981B9A2BC7EBEstanmccann@216.234.192.142...
> "Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in
> news:ebf8d2$fg6$1$830fa7a5@news.demon.co.uk:
>
>>
>> "Mark A. Boyd" <mblist@sanDotrr.com.invalid> wrote in message
>> news:Xns981A678D8E11BmblistssanDotrrcom@66.75.164.119...
>>> On Wed, 09 Aug 2006 09:45:24 GMT, Tony Marston posted in
>>> comp.lang.php:
>>>
>>>>
>>>> "Mark A. Boyd" <mblist@sanDotrr.com.invalid> wrote in message
>>>> news:Xns9819C73F142DCmblistssanDotrrcom@66.75.164.119...
>>>>> The august Jerry Stuckle posted August:
>>>>>
>>>>>> Tony Marston wrote:
>
>> I *do not* accept the idea that just because *some* languages allow
>> this disgraceful state of affairs that it is now the *new standard*
>> and should therefore be applied to all languages.
>
> There's nothing new or disgraceful about it. Unix has always been case
> sensitive and some programming languages follow suit. There is nothing
> wrong with being case sensitive. I do agree that the same names with
> different case shouldn't be used except in a few cases where it could
> make sense to do so.
>
>> Hands up those who agree with me.
>>
>
> Hand maybe a quarter way up; definitely not fully.

There is no halfway house. You either see the problems that can be caused by
allowing functions with the *same spelling* but *different case* to be
*different* functions and want to prevent them, or you encourage them. If
you allow the language to have such a feature then some programmers will use
it while others will abuse it. That is why different languages and different
programming standards disallow the use of such things as the GOTO verb -
because of the potential to produce obfuscated and unmaintainale code.

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

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