Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23467 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13716 invoked by uid 1010); 16 May 2006 20:47:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13700 invoked from network); 16 May 2006 20:47:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2006 20:47:50 -0000 X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([67.139.134.202:3639] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C0/DB-19568-57A3A644 for ; Tue, 16 May 2006 16:47:50 -0400 Received: (qmail 38835 invoked by uid 98); 16 May 2006 20:47:50 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 ( Clear:RC:1(127.0.0.1):. Processed in 0.066528 secs); 16 May 2006 20:47:50 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.066528 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 16 May 2006 20:47:50 -0000 Received: from 67.108.68.36 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 16 May 2006 15:47:50 -0500 (CDT) Message-ID: <61623.67.108.68.36.1147812470.squirrel@www.l-i-e.com> In-Reply-To: <89.E7.19568.50199644@pb1.pair.com> References: <785810036.20060511193536@ionzoft.com> <7.0.1.0.2.20060515210559.06acd350@zend.com> <1217741491.20060515174322@ionzoft.com> <89.E7.19568.50199644@pb1.pair.com> Date: Tue, 16 May 2006 15:47:50 -0500 (CDT) To: "Ron Korving" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] private, protected, readonly, public From: ceo@l-i-e.com ("Richard Lynch") On Tue, May 16, 2006 3:44 am, Ron Korving wrote: > Like you, I don't see why a 'readable' keyword should make things any > more > complicated for beginners, because indeed, it is optional and > beginners will > simply not use it. To me, this only shows the strength of PHP: > suitable for > beginners and suitable for the enterprise. To be even more expansive: At whatever level of understanding one has for private/protected/public, I don't think the prefix 'readonly' is going to add any significant complexity to that understanding. The people who have no clue and don't care about all this OOP stuff can ignore that. The goofballs who abuse and mis-use private/protected/public because some book told them it was "good" will be equally liberal with their use of "readonly" and only have themselves to blame when they've painted themselves into a corner (again) The 10% of PHP coders who actually understand p/p/p and even apply it in arguably useful ways will grok readonly just fine. :-) Sufficient examples of the utility of 'readonly' with all levels of p/p/p have convinced this village idiot that it should be a modifier to p/p/p and not some new 'p' wedged in. -- Like Music? http://l-i-e.com/artists.htm