• anewfox@lemmy.zip
    link
    fedilink
    arrow-up
    36
    ·
    edit-2
    6 hours ago

    i maintain that the reason everyone on the internet hates php is because the devs who write php code all day go home to their spouse and kids after work instead of arguing on the internet.

    cuz, nobody really treats any other language like this, even though… gestures to npm and pypi’s constant security flaws

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      2 hours ago

      JavaScript gets a lot of shit and part of that’s from me, a JavaScript dev.

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      ·
      3 hours ago

      cuz, nobody really treats any other language like this, even though… gestures to npm

      I usually see more Javascript hate than PHP hate these days, mostly because everyone had forgotten that PHP exists.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      10
      ·
      4 hours ago

      We are fully capable of thinking PHP, NPM, and PyPi are trash simultaneously. Though it should also be said that only PHP has had decades of security flaws in the language itself, rather than a package manager.

      It’s just a very poorly designed language with countless footguns and fucking idiotic standard library functions, on top of being a running joke, security-wise.

    • deegeese@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      ·
      4 hours ago

      If you treat programming as a job, PHP is good because it lets you get things done.

      If you treat programming as a craft, PHP is gross for a whole bunch of reasons.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      5 hours ago

      Nooo but how do I hecking pad things on the left?!?!!!1!! I need 600 npm packages before I can put a div on a page