you are viewing a single comment's thread
view the rest of the comments
[–] 97 points 2 weeks ago* (19 children)

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

  • source
  • hideshow 19 child comments
  • [–] 46 points 2 weeks 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.

  • source
  • parent
  • [–] 17 points 2 weeks 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.

  • source
  • parent
  • [–] 16 points 2 weeks ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 2 weeks ago (2 children)

    The most insane thing I ever worked in was Qt Creator, which used JavaScript for the UI and C++ for the lower level back end stuff. The switching your brain had to do to go back and forth between the two languages was remarkable. I think Qt is the real reason the suicide and alcoholism rates in Finland are so high.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 2 weeks ago (3 children)

    Or because people had bad experiences with it. Like hosting software built in PHP, which seems to have uniquely terrible hosting mechanics and version and dependency management.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 0 points 2 weeks ago (2 children)

    Or really isn't. At least not for the last 15 or so years

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 weeks ago (1 child)

    "Isn't" what? If you're referring to the hosting experience, I'm talking based on experience setting up some PHP software from the last year or two. Unless you just slap docker on it, it seems to be a pain getting php running, it might want a very specific version (extra pain to get that specific version running), and I remember dependency management giving me trouble, possibly also being weird with the older version of PHP.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 week ago

    *It really isn't

    every project I set up in the last 10 or 15 years was just "composer install" and done. (plus whatever configuration like DB etc you need)

    Sure, might need to check what minimum version you need, but backwards compatibility is pretty good, so along a major version you can often just pick the latest

    I don't know what weird projects you checked out, but that might just be on them instead of the language

  • source
  • parent