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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php