A lot of techie friends ask me why I chose to program in PHP instead of JSP, ASP or even Java (which I studied formally). Facebook developer, Haiping Zhao, has the same point of view as I do. PHP is simple - to learn, to write, to read and debug. It's in English and makes logical sense even for lay people who know nothing about programming.
Now when you've programmed in PHP for a while, you feel like you can make it do anything - and you can. It's just not as fast as compiled languages like C++ or interpreted languages like Java - it does not use memory and CPU resources very efficiently. When I brought up knowledge discovery and data mining systems to my former programmer/leader, he said that to be able to process huge amounts of data, we would have to learn C++ and that's a completely different ball game from our simple scripting language. This became a limitation that I had to live with - and piqued my interest in learning C++. But all my side projects, full time work load and church responsibility made learning C++ nearly impossible.
A team of engineers from Facebook were faced with the same limitation. They needed the speed of C++ to scale the Facebook application, but their small team were mostly PHP programmers. Instead of making the programmers learn C++ and rewrite the whole application - the engineers came up with HipHop for PHP, which converts PHP code to C++ code programmatically. Isn't that just brilliant?
Use a program so that you don't have to learn a new programming language! And there's an added bonus, you don't have to write great code, it optimizes your code for you - less headaches for senior programmers, I'm thinking. They are releasing the open source project to a select group of PHP developers tonight at 7:30 PM PST and will be streaming it live for our viewing pleasure. Check the Facebook Developers Blog for more details.
Happy coding, everyone!





