Comment by 'Guest' on 2006-08-24 09:32:54 "Java has interfaces and PHP does not." PHP has interfaces. |
Comment by To PHP or Not to PHP on 2006-10-13 08:49:45 Let me just say that Java is NOT pure OO. Smalltalk is. Java doesn't even support encapsulation. Java makes polymorphism a difficulty. PHP is weakly typed, so in that respect it is MORE OO. As for the mess of code, that depends on the developer. Java's got a messy syntax of its own. ('All the speed of Smalltalk with the syntactical grace of C++'). PHP sounds faster and more OO actually, but Java's got integration with lots of frameworks. Gotta pick and choose. |