Categories


Loading feed
Loading feed
Loading feed

Jaybill McCarthy Dispells 10 PHP Myths


Jaybill McCarthy has written an excellent blog post to open the year with, 10 PHP Myths Dispelled. In it he spends a paragraph on each of 10 myths about PHP and show why they are just not true.

Myth #1: PHP is not a truly Object-Oriented Language

I hear this one a lot from Java programmers. It’s completely false. PHP has excellent OO language facilities. There’s inheritance, abstract objects, interfaces, properties and methods. Okay, there’s no polymorphism. (Personally, I think polymorphism might be the worst idea ever, but that’s just my opinion.) I will say that there have been vast improvements in PHP’s OO mechanics with PHP 5, but I’ve written lots of PHP 4 apps that were totally OO. The mere fact that you can write purely procedural PHP code doesn’t mean that PHP isn’t OO capable. Furthermore, the fact that PHP allows you to mix OO and procedural code makes things like bootstrap scripts really simple.

He goes on to tackle topics like:

  • PHP Encourages Sloppy Code
  • PHP is slow because it’s interpreted
  • PHP isn’t really for “serious” developers

Click on over to 10 PHP Myths Dispelled and give it a read.

Comments


Thursday, January 3, 2008
GOOD POINTS
10:58AM PST · sevenforty
PHP IS NOT OBJECT ORIENTED
11:39AM PST · Anonymous User [unregistered]
OOP MISUNDERSTANDINGS
12:53PM PST · Anonymous User [unregistered]
PHP CAN BE CONSIDERED OO; PREVIOUS POSTER ASSUMES HIS CONCLUSION WITHOUT PROVIDING EVIDENCE
12:55PM PST · jbeall
Friday, January 4, 2008
IT'S NOT JUST NOVICES...
6:56AM PST · gcornelisse
MYTHS
12:22PM PST · sevenforty