Why you should maybe reconsider using PHP
Thursday, May 10, 2012 at 12:58PM When it comes to middle tier development, I am a long time php user. I picked the language/framework up back in 1999/2000 when everyone was still naming their files with a php3 extension. And it's served me well for a long time. It was super easy to pick up and get running with. In hind sight, perhaps that was a bad sign.
There has been a discussion raging on for years now about the worth of php as a serious development language. It's proponents often advocate that it's widely used and available and easy to learn. Others have a bit of a different take on php. The author of an article I read yesterday explained in length the flaws of developing with php. You can read that article here: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/. It's hard to disagree with what he saying when presented in this exhaustive, if not angry, manner. His points are for the most party all valid.
PHP is an embarrassment, a blight upon my craft. It’s so broken, but so lauded by every empowered amateur who’s yet to learn anything else, as to be maddening. It has paltry few redeeming qualities and I would prefer to forget it exists at all.
For a while now I've personally felt like learning PHP as one of my first languages was a mistake. Learning a language with loose data types and non-convential standards tends to make you a bit of sloppy developer in my opinion. This has become more evident now as I am teaching myself other more traditional languages like c++ and ruby. I've had to change my approach to programming or risk banging my head against a wall when I can't figure out why when I do something the php way, it won't work in these other languages.
If you are new to web development, or even just programming in general, I highly recommend starting with a more formal style language such as ruby, python, or even perl before picking up PHP. Those good habits you learn will make learning new languages easier, and will certainly result in better PHP code when you inevitably pick it up.
