Skip to content

I especially like “Don’t Comment with…” part. Each of the points :)

I especially like "Don't Comment with..." part. Each of the points :)

I especially like "Don't Comment with..." part. Each of the points 🙂

http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/

6 thoughts on “I especially like “Don’t Comment with…” part. Each of the points :)

  1. Aaron Seigo

    there are a few errors in there, but what i find interesting is that he correctly predicts that PHP lovers don't understand why it's a problem. yes, many individual items may have a justifiable reason, but put together all those justifiable reasons create a mess.

    it's also why PHP became, and has since remained, so damn popular.

    Reply
  2. Matthias Welwarsky

    I'm not particularly familiar with PHP, however the arguments he lines up in "Don't Comment with ..." are universal, not limited to PHP or any particular language. Just recently I had to argue about using Qt for a project and encountered all the same arguments in favor of a "C" approach using libevent2, expat, curl, mysql and some other famous names instead of Qt, which would have done the job just fine. Some people rather spend time writing wrappers over wrappers in C than being productive, happily cultivating their "good programmer" facade.

    Reply
  3. Aaron Seigo

    Uugggggh.

    Yes, there are many similarities between PHP and C like that. It's a kind of Stockholm syndrome imho: you spend so much time learning its oddnesses and subjecting yourself to its madness, that you grow fond of it and feel awkward with anything else. 😛

    .. and since you mentioned mysql, it's the same story there all over again. "LAMP" was one of the best and worst things to happen for Linux in the 90s.

    Reply
  4. Martin Bonnin

    I never understood how come no one has designed a better language for building large websites.

    After playing a bit with wordpress and its messy php loop, I badly want to remove all of it (and mysql too) and just generate a static website from document templates...

    Reply

Leave a Reply to Ivan Čukić Cancel reply

Your email address will not be published. Required fields are marked *