You are here: Re: [PHP] Obsession with BC « PHP « IT news, forums, messages
Re: [PHP] Obsession with BC

Posted by Robert Cummings on 10/11/05 21:37

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
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.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

 

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

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