You are here: Re: Breaking backwards compatibility - good or bad? « PHP Programming Language « IT news, forums, messages
Re: Breaking backwards compatibility - good or bad?

Posted by Wayne on 10/18/97 11:35

On 23 Dec 2005 01:04:06 -0800, tony@marston-home.demon.co.uk wrote:

>> You don't have to change your programming habits to match my programming
>> habits. You do, however, need to match the requirements of the language.
>
>The current requirement of PHP is that only variable names are
>case-sensitive. What I am doing is arguing against the proposal that
>function names also be made case-sensitive for no other reason than "to
>bring it into line with other languages".

Do you know why PHP functions are case-insensitive in the first place?
The original reason was because HTML tags were case-insensitive they
decided to also make PHP functions case-insensitive because it was
common (back in the day) to call PHP functions like tags <B><?php
somefunction() ?></B>

But guess what, in XHTML (and XML) tags are now case-sensitive too!
So even the original reason for PHP case-insensitive functions is now
gone.

>I will never, ever agree that case matters.

For the next 100 years, you're going to be really disappointed. Every
modern programming language of any consequence is case-sensitive. You
might not like it, but you're going to have to live with it.

 

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

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