Re: Obsession with BC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux