Hartmut Holzgraefe wrote:
Bastian Grupe wrote:

You didn't want to return $bar in your example, you wanted
to return $this->bar so you already ran into one of the
issues here ;)


Blame my recent use of Java here ;-)

Well, I think the whole point of ppp is to having to use setters and getters consistently.

I personally wouldn't like to be able to access some members which are private, and not others. It just *feels* wrong.

And I don't know whether or not less typing is really a good argument in this situation (think unreadable code in shortcut-ish programming languages).

-- Bastian

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to