Re: PHP4 vs PHP5 Performance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stut wrote:

> Just wanted to pick you up on this. PHP is the only language you've
> listed that only has a single implementation. There are implementations
> of C++ compilers that are writting in other languages. I can't speak for
> Java since I have little experience but I'd be surprised if all
> implementations are written in C.


one thing thats nice about java is it has a formal specification.  so in
creating
alternative implementations they can be certified against the spec by sun.
i
think thats another big plus of java.


> they are high level, and although php allows you to write proceedrual
> > code, i think it is best used from an oop paradigm.
>
> This would be a personal choice. Just like C++ "allows you to write
> procedural code" there are times when OOP makes sense and times when
> procedural is "better". It's a choice that should be left up to the
> developer, and the argument over whether OOP is better than procedural
> is not winnable. It's in the same league as PHP vs Python.
>

unfortunately im a bit rusty w/ my c++; but looking a java the only way to
write
procedural code is to place it in a method called main inside of a class.
does that
count as procedural or does it count as oop ??
when i say oop paradigm i refer to the overall design of an application, or
framework.
said app consists largely of objects; each w/ a focused purpose, the methods
of
which are also small and have a focused purpose.
*sigh*  i dont care to get into this debate again.  in my mind its clear oop
is superior to
strictly procedural programming, but alas you are probably right.  so whats
the use in
arguing ..?

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux