Re: Property Overloading RFC

From: Date: Thu, 25 Aug 2005 12:49:10 +0000
Subject: Re: Property Overloading RFC
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-18418@lists.php.net to get a copy of this message
Christian Schneider wrote: > Derick Rethans wrote: > >> I updated the proposal: >> http://files.derickrethans.nl/property_overloading.html >> >> If nobody as any better idea on how to solve it I'd like to start >> implementing it. > > > I seem to remember that we had some voices here stating that the current > mechanisms are sufficient. Adding new keywords and/or new magic methods > is something which should have a very high threshold as it complicates > the language. > > To me the proposal looks like a worst of both worlds kind of compromise: > Add new keywords and magic methods coupled with (ab)using the (in this > context somewhat inelegant) __get/__set mechanism. > > So I'd rather not see this implemented to be honest. I could not agree more! Edin

« previous php.internals (#18418) next »