Re: Reflection API

From: Date: Tue, 01 Jul 2003 17:55:03 +0000
Subject: Re: Reflection API
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3091@lists.php.net to get a copy of this message
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. George

« previous php.internals (#3091) next »