Reply to Re: [PHP] Obsession with BC

Your name:

Reply:


Posted by Jochem Maas on 10/11/05 21:56

Robert Cummings wrote:
> On Tue, 2005-10-11 at 13:57, GamblerZG wrote:
>
>>>><?php //parse this with mod_php4
>>>>function class_method($var){ }
>>>>?>
>>>><?php5 //parse this with mod_php5
>>>>class clazz implements Something{
>>>> function method($var) {
>>>> }
>>>>}
>>>>?>
>>>
>>>Ummm, maybe your speaking alien, but could you clarify how that solves
>>>the problem you are addressing?
>>
>>First, if every version of the language would have it's own tag, then
>>there would be no need to maintain BC beyond reasonable necessity.
>>
>>Second, hosing providers would be more apt to uprade. They would simply
>>add new module without removing the old one. This way both old and new
>>scripts would work perfectly fine without the need for some kind of
>>compatibility mode.
>
>
> Sounds like whole different nightmare. I for one don't want to have to

yeah - they did this with php3 -> php4, it was a mightmare according to the devs,
not so long they reiterated the 'never again' stand point on
internals@list.php.net.

> go through all of my code and change <php to <php5. True, it's a 10
> second script, but then my code doesn't work with <php, ACK now I need
> two versions of MY code to ensure it works for PHP4. No thanks.
>
> Cheers,
> Rob.

[Back to original 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

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