Nathan Nobbe wrote:
look at C++, Java, and PHP. these languages are all written in C;
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.
PHP could easily (although lengthily) be re-implemented in another language, including PHP itself if you were sufficiently mad.
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.
-Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php