Re: oo != php
| From: | Sander Steffann | Date: | Fri, 07 Jun 2002 18:31:58 +0000 |
| Subject: | Re: oo != php | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84997@lists.php.net to get a copy of this message | ||
> OO IS OO... JUST BECAUSE JAVA IS OO DOESN'T MEAN WE ARE SUGGESTING MAKING
JAVA
> AGAIN. WE ARE SUGGESTING MORE OO FEATURES. Please Pleas Please realize the
> difference. Im sick of people associating oo features as java features!
>
> Making php more like java would be suggesting making a public static void
> main(String args[]) in a class, and that gets run when a class with that
name
> is loaded. Now this is stuff specfic to java! Not MI or public/private
members
> these features have been around way before java was ever thought of!!!
I completely agree here. Having some extra OO features would be nice.
There are a few conditions:
- Using them must be optional
- Performance should not suffer too much
- A clean implementation is possible
If adding a few OO features for the people who want (or even need) them can
be done under these conditions, I think it should be considered seriously...
If one of these conditions can not be met for a certain feature, it won't be
worth adding IMHO.
Sander.