Re: declaring classes as static or final
| From: | Michael Virnstein | Date: | Tue, 28 Sep 2004 13:35:44 +0000 |
| Subject: | Re: declaring classes as static or final | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13049@lists.php.net to get a copy of this message | ||
i don't any experience with java, but i ran into a case, where this would have been useful. And i disagree with the "too much was added already". I think that php, dispite all the added stuff, is still easy to learn, easy to read and easy to work with. PHP simply got more powerful and i hope it'll grow further. Adding the things i mentioned would simply mean more control on the implementation of a class. It wouldn't get more complicated in any way and there'd be noone forcing you to use those things. You would simply have tools to enforce some rules, which is not a bad thing.
Michael
Christian Schneider wrote:
Michael Virnstein wrote:What do you think about it?PINJ (PHP Is Not Java) ;-) Let's keep the language simple, too much was added already IMHO (-:C - Chris