Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jeff Moore's Blog:
Learning PHP vs. Java
Aug 05, 2004 @ 12:43:59

Thanks to PHP Magazine, there's a new link for anyone that's walking the line between PHP and Java and just needs that extra shove.

In this blog posting from Jeff Moore's Weblog he goes through a listing of almost forty different reasons that the functionality of one is superior to the other. Things mentioned include: Naming the Class Differently from its File Name, Returning void from an Accessor method, Forgetting to Cast Object Data Types, and Not breaking at the end of each case in a switch-statement.

Overall, it seems to me that PHP is simpler to learn than Java, thanks to some of "lazy" features that most of us PHP coders take for granted (my personal favorite is the dynamic variable casting...).

tagged:

Link:


Trending Topics: