Re: Reflection API

From: Date: Wed, 02 Jul 2003 21:05:37 +0000
Subject: Re: Reflection API
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3175@lists.php.net to get a copy of this message
At 01:55 PM 1/7/2003 -0400, George Schlossnagle wrote:
On Tuesday, July 1, 2003, at 12:56 PM, Sterling Hughes wrote:
Not to throw a wrench in the wheel, but properties seem to be the more appropriate pattern. Especially when taking PHP's object overloading abilities into play. Accessors are a Java paradigm that's as half-baked as it is repetitive, when you have overloading you no longer need property accessors. I vote (not to annoy george or anything, I'll write the code myself) that we use properties and overloading. It will make it much easier to instrospect the object with var_dump() and print_r(), and its the cleaner implementation....
It's not an annoyance - it's not my spec, I'm just implementing it. I'm happy to change the code to work via properties instead, it's not a major change. I would like to settle on a concensus first.
I've already said so, but I definitely prefer methods. Andi

« previous php.internals (#3175) next »