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 Tony Marston on 10/19/29 11:36

"Wayne" <not@here.com> wrote in message
news:4jlrq1ho73r6761idr20d5c791u8pae2fe@4ax.com...
> On Sat, 24 Dec 2005 18:09:24 +0000, Colin Fine
> <news@kindness.demon.co.uk> wrote:
>
>>WHY IS IT PROGRESS?????
>>
>>PHP5 is a vast improvement on PHP4 in a number of ways. But they could
>>equally well have resolved the inconsistency between variable and
>>function names by removing case sensitivity for the former.
>
> I'd say that adding case-sensitivity breaks less code than removing
> case-sensitivity would. Adding case-sensitivity in PHP might create a
> alot of hard errors (calling functions with the wrong case, for
> example) but it will never go silently. Removing case-sensitivity
> from variables can easily create situations where you silently end up
> with incorrect results.

Only if you deliberately have the same variable name in the same scope in
different mixtures of upper and lower case, thus producing different
variables. How many programmers do you know who would do that?

 

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

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