Sunday, June 2, 2013

PHP: First impressions

I had heard from others not good things about PHP, how it is used, at least. In fact, it seems that some websites want to hide the PHP behind them.

Working with a beautiful, Edward-Scissorhands-like language like Scala and recently exploring Haskell which I don't get, PHP feels to me like a throwback to another era, specifically C, which was one of the first languages I learned. After completing chapter 3 of Nixon (2012), I've concluded so far that PHP is not as elegant as Awk but (thankfully) appears to lack the obscurity of Perl.  Forget Basic, Fortran, Scheme, and Prolog. It is perhaps closest to Korn shell scripting. The point it seems to me is not what PHP is but what it can do. Scala is my first choice language. Scala is wonderful for what it was designed to do. But I must remember one size does not fit all. If PHP is going to make me more productive, reduce errors, and help deliver innovative, original solutions, what does functional programming have to do with it?

No comments:

Post a Comment