Re: bug or feature?

From: Date: Sat, 19 May 2001 00:14:18 +0000
Subject: Re: bug or feature?
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-55858@lists.php.net to get a copy of this message
I disagree with your conclusion here. If a side-effect is useful enough and people want to use it, why not document it de-bastardize it? The fact that other OO languages implement this should be a hint that it shouldn't be impossible to do in a different OO model. Why care more about forward compatibility than using what we have? And if "assignments to self" would be impossible to implement in another OO model, this would be only one of many compat breakers. - Stig [Zeev Suraski <zeev@zend.com>] > Guys, > This isn't up for a vote... It's a side effect of implementation, and > other implementations may invalidate it. We can't document it as a > feature, because it may bite us big time in the future. > > Zeev > > At 19:21 18/5/2001, Sebastian Bergmann wrote: > >Kristian Köhntopp wrote: > > > Assignments to self (to $this) are a very useful features and > > > common in other OO languages as well. I'd vote for keeping the > > > feature, document it as such and making it legal. > > > > +1 > > > >-- > > sebastian bergmann sb@sebastian-bergmann.de > > > > http://www.sebastian-bergmann.de > > > > bonn.phpug.de | www.php.net | www.phpOpenTracker.de | www.titanchat.de > > > >-- > >PHP Development Mailing List <http://www.php.net/> > >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > >For additional commands, e-mail: php-dev-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > Zeev Suraski <zeev@zend.com> > CTO & co-founder, Zend Technologies Ltd. > http://www.zend.com/ > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- Stig Sæther Bakken <ssb@fast.no> Fast Search & Transfer ASA, Trondheim, Norway

« previous php.dev (#55858) next »