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 <[EMAIL PROTECTED]>]
> 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                            [EMAIL PROTECTED]
> >                                        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: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> --
> Zeev Suraski <[EMAIL PROTECTED]>
> CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
  Stig Sæther Bakken <[EMAIL PROTECTED]>
  Fast Search & Transfer ASA, Trondheim, Norway

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to