Re: final keyword
| From: | Sebastian Schneider | Date: | Thu, 14 Feb 2008 09:33:05 +0000 |
| Subject: | Re: final keyword | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35488@lists.php.net to get a copy of this message | ||
This is what I'm saying.
But the current grammar lacks within the use of const and final!
And that's what it's all about - that's my point. ;)
Lukas Kahwe Smith schrieb:
On 13.02.2008, at 21:52, Andi Gutmans wrote:Guys, I think we are over-engineering and over-complicating here. Reminds me of all the ugly workarounds in C++. If this is really what you need then just declare it private/protected and create accessor methods (getters/setters). I don't think it makes sense to introduce additional complexities both to the grammar and the visibility logic for something very few people are going to get their heads around...Thats exactly what I was thinking when I read this proposal and ensuing discussion. regards, Lukas