Re: about final methods and attributes
| From: | (Marcus B�rger) | Date: | Sat, 21 Jun 2003 00:07:09 +0000 |
| Subject: | Re: about final methods and attributes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2471@lists.php.net to get a copy of this message | ||
Hello Cristiano,
Friday, June 20, 2003, 9:03:33 PM, you wrote:
CD> Ok, final methods and attributes are cool, but what about final classes ?
CD> Is it hard to implement ? Or all classes must be able to be extended by
CD> children ?
It would be easy to implement and i made a running patch some time back. But
we were uncertain about the result, whether or not it is really helpfull and
needed in a loose typed language as PHP. But if you come up with a very good
scenario were final classes are really needed chances are good they make it
into PHP 5, if not chances are not so good.
--
Best regards,
Marcus mailto:helly@php.net