You Used PHP to Write That?! - Uh yeah.

I have gotten pretty good at staying out of language flame wars recently. Usually, when some wide eyed neophyte wipes a trickle of Kool-Aid from their chin and says “Ruby is sooooo much better than PHP”, I just say “uhuh”. I can’t be bothered opening a can of Terry Chay on them and I don’t really see the point. I can’t even usually be bothered saying “uhuh, that is why Twitter is the only A-list Web2.0 site built with Ruby and it is down all the time.”

Every now and again though, I just can’t help taking the bait.

You used PHP to write WHAT?! by Kenneth Hess on CIO.com grates. PHP programmers in general are pragmatic. It is not generally a language chosen by purists and zealots who latch onto one tool and claim it to be perfect in every way, and appropriate for every task. There are plenty of people with deep PHP knowledge who could have written an insightful article fitting into the CIO series’ theme that no one language is right for all applications.

Pap annoys me more when it appears in something claiming to be mainstream media than when it appears in some loser’s blog. Traditional media, while possibly doomed, does employ editors and generally attempts to check facts.

Well, sometimes they check facts. Ignoring the subjective parts that are merely the authors opinion, this article has so many simple factual inaccuracies that it is laughable. I assume the author does not have a great deal of experience with PHP.

Given he claims you can port an application from one database to another with minimal effort by running find and replace to swap mysql_query() with mssql_query() it seems likely that he has never written a non-trivial application in any language. So his major claim that PHP does not scale is presumably based on conversations he had with the fairies that live at the bottom of his garden.

Maybe it is just that Java fanboys push my buttons more than Ruby fanboys. Maybe it is just that damning with faint praise is more annoying than overt attacks. Barack Obama is “articulate“. Australia is “lovely” and reminds Bill Bryson of Iowa in 1958. PHP is good for “Creating an intranet site”. Come on!

Actually, it is might not not even be the factual inaccuracies and unsupported assertions that irritated me most. When I hear “enterprise” used as an adjective and not a punchline I involuntarily clench and it is there five times on one page.

Postscript: A couple of days later, Terry Chay could not resist opening a can of Terry Chay on them.

8 Responses to “You Used PHP to Write That?! - Uh yeah.”

  1. The Woodwork » Blog Archive » You Use PHP to Troll WHOM?! Says:

    […] Welling, security analyst for OmniTI consulting and bestselling PHP author, puts in his perspective. I wrote this article before Luke, but notice the similarity from realizing the article is […]

  2. juicing recipe book review Says:

    I’m really enjoying the theme/design of your site.
    Do you ever run into any browser compatibility issues?
    A couple of my blog visitors have complained about my site not
    working correctly in Explorer but looks great in Firefox.

    Do you have any tips to help fix this problem?

    my homepage: juicing recipe book review

  3. HealthSource Distributor Says:

    It will help by lowering how much money affordable health insurance you make, frequently
    are important factors in when and how you can get cheaper policies
    with another company. And older women living at the poverty
    level after losing a spouse may not be possible because the person might
    be changing jobs and looking for a lower-cost alternative to COBRA?

    My blog; HealthSource Distributor

  4. Tariq Qureshi Says:

    Hello Mr. Welling

    Eagerly awaiting the 5th edition of php & mysql book. I see the publication date being pushed back constantly at amazon.com. Is there any other site that you keep updated?

    You guys have the best approach in teaching php & mysql. Thanks.

    Sincerely,
    Tariq

  5. Porter Says:

    Excellent post! We will be linking to this great article on our site.
    Keep up the great writing.

    Look into my webpage; home improvement milwaukee (Porter)

  6. Meridith Says:

    Hi there, I want to subscribe for this weblog to take
    newest updates, therefore where can i do it please assist.

  7. Manual Says:

    bookmarked!!, I like yolur blog!

  8. Rudy Says:

    I like looking through a post that will makee peeople think.
    Also, thanks for permitting mee to comment!

Leave a Reply