PHP Sucks

It seems like their is a new Cool wave flowing in the developer community which involves finding reasons to say PHP sucks.

Everyone worth his salt is trying to get ahead in finding new reasons to put it down.

So I thought why not I compile some of the good articles from bunch of these people.

Here is my favorite quote from one such article:

So here’s my problem, based on my limited experience with PHP (deploying a couple of free apps to do this and that, and debugging a site for a non-technical friend here and there): all the PHP code I’ve seen in that experience has been messy, unmaintainable crap. Spaghetti SQL wrapped in spaghetti PHP wrapped in spaghetti HTML, replicated in slightly-varying form in dozens of places.
By Tim Bray

Here is a small list of reasons why these cool people think that PHP sucks…  read it yourself and decide

  1. I’m sorry, but PHP sucks
  2. I hate PHP… just hate it. Hate it hate it hate it
  3. What I don’t like about PHP
  4. PHP Sucks, But It Doesn’t Matter
  5. Experiences of Using PHP in Large Websites
  6. PHP is the new VB6 in a C dress
  7. I hated php back when it was cool
  8. PHP, I just don’t like it
  9. Why PHP sucks, Part III

If you know me then you must be thinking about a list of similar articles to help debunk their claims, but no I won’t do that.

Why?

Simply because if you go through all the articles you will see it yourself.

I think PHP, when I think Web Application.

I have read all these articles but I still can’t see a good reason for “why PHP sucks”. I agree that their are some drawbacks in PHP but then you have to agree that PHP is just a scripting language, which was written for building web applications quickly, and nothing else.

I like it because it allows me to show myself in my codes. By looking at the code of a PHP developer you can easily decide where he stands. As the language does not enforce any thing, it requires a good discipline and programming practices to write a good piece of code in  PHP, which means you can easily segregate, good from bad. In other languages it is not possible as they force similar coding style.

But this is not the only reason why I like PHP, I like it because it is build for Web, It was created to get thing done in simplest possible manner. To quote again

It will give you the freedom to achieve what you want, how you want, with results.
By Akash Mehta

Since I did not want to be left out of this cool club which involves members like Jeff Atwood, and I can’t find anything against PHP that prevents me from using it,

So

PHP sucks… PHP sucks… PHP sucks… PHP sucks… PHP sucks…

Here I have said it 8 times that PHP sucks…, 9th if you count this also.

Now can I join the club? I also want to look cool, you see I have said it 9 times. Do you want me to say one more time?OK , PHP sucks… Now?

Well I hope I have satisfied the criteria to join this elitists club as junior member, because in truth I don’t see why PHP sucks.

UPDATE:  DZone has put a administrative  block on this article. I have no idea why, but i think it must be because of the tags that i had put their. Anyways, it’s fun.

PS: if you also think PHP does not suck, you may want to join gathering of PHP enthusiast, on 20th September 2008.

Posted in: php

7 thoughts on “PHP Sucks

  1. Pingback: Enable Your Joomla To Write In Hindi, Marathi, Bengoli, Gujarati, Malyalam, Telugu and Punjabi | am i works?

  2. Thanks Amit for this contribution. I love this. This is what I am looking for a while. You might have already notied these below but want to let you know if you havent and please fix them in next release.

    1)If I already have a english ariticle & If I want to enter indic language text in certain line below are the steps that I am taking and not working for me. I believe this is a minor bug. please correct me if i am wrong.

    a) Edit Article which is in english/other language
    b) I go to that line and Click on Indic Button and choose the language.
    c) When I type the Text it is still the English.

    Work Around I am using: After step b, with mouse I have to place the cursor before the first character in the Editor and need to come back to type the language that I am interested to type in.

    I belive there is some java script bug.

    2) what do I need to do to do to show them in JCE Editor

    Please help.

    Thanks
    Varma

  3. hi Varma,
    I have never used JCE Editor so i have no idea. anyways, thanks for letting me know about the bug.

  4. Hi amit,
    Thanks for this wonderful plugin we were looking for this for a long time….tried google indic translation but could not work on it….

    Thanks once again.

  5. Hi Amit,

    Thanks for the plugin. I couldt not find an option to type in tamil. Is there way?

    DePaul

  6. @matthew Tamil is not yet supported. you may want to see if Google’s transliteration api’s support it.

  7. Pingback: 6 Pune Techie’s To Follow On Twitter | am i works?

Comments are closed.