There are two reasons we repeat the 'PHP is not Java mantra':

(a) Many of those requesting these changes actually DO want to see PHP as a 
Java with PHPish syntax.
(b) Java is (so far) the best implemented OO language out there that's 
actually being used.  It symbolizes the extreme OO world, if you will.

Zeev

At 08:41 PM 6/7/2002, brad lafountain wrote:

>--- "Preston L. Bannister" <[EMAIL PROTECTED]> wrote:
> > From: Ilker Cetinkaya [mailto:[EMAIL PROTECTED]]
> > [snip]
> > > but after getting known of the ze2 features, I personally saw PHP finally
> > > growing out of that "PHP, language for kiddies"-image.
> > > IMHO PHP is a real good language for its target purpose, but it has
> > > potential to be much better.
> >
> > PHP is a nicely done scripting language.  Scripting languages tend to
> > be easier to get into, easier to make changes with, and do a good job
> > of gluing disparate components together.
> >
> > Java is a compiled language.  Good for building complex tightly knit
> > applications at the higher end of the performance spectrum.  For tasks
> > that could be done with a scripting language, the implementation cost
> > is usually higher in Java.
> >
> > C++ is a lower level compiled language.  Good for getting every last
> > bit of performance possible out of the hardware.  Also good for complex
> > tightly knit applications - but at an even higher development cost.
> >
> > Think of each as a different tool in your toolbox.  You choose the
> > tool to fit the job at hand.  A screwdriver is not a "kiddie" hammer.
> > Each is well suited for different kinds of tasks.
> >
> > To extend the metaphor - think of an all-in-one tool - a combination
> > of hammer and screwdriver, say.  In trying to combine the two tools
> > meant for different purposes you end up with something that is neither
> > a particularly good hammer, or a particularly good screwdriver.
> >
> > So the focus on improving PHP in the role as a scripting language
> > (not trying to make PHP into Java or C++) makes a great deal of sense.
>
>  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!!!
>
>  - Brad
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to