Re: PHP5 - OO extensions and naming conventions.
| From: | Jason Greene | Date: | Wed, 02 Jul 2003 19:13:02 +0000 |
| Subject: | Re: PHP5 - OO extensions and naming conventions. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3174@lists.php.net to get a copy of this message | ||
On Wed, 2003-07-02 at 13:24, Andi Gutmans wrote:
> I definitely prefer setXXX()/getXXX() functions over property overloading.
>
> Andi
I agree, but I am usually of the mindset that all properties should be
private, and should always have accessors (unless of course there is a
performance issue with the particular application)
-Jason
--
Jason Greene <jason@inetgurus.net>
<jason@php.net>