• disenchanted@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Everything works if you know it well enough. But what I remember annoying me with php most was the naming convention mess, array_search, count, strlen, etc.

      • duncesplayed@lemmy.one
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        \except $for $the $annoying $syntax $and $bad $function $naming, $it’s $actually $turned $into $a $fairly $decent $language->

  • Loce@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    After like a 10 years of coding in everything except PHP I actually started missing PHP. Everything is so bloated nowadays and all the shit that gets thrown towards the PHP is mostly just a BS from those that either never coded in PHP or stopped coding before PHP 5.6.

  • spartanatreyu@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Modern PHP shits all over the PHP v3, v4, v5 days of yore.

    Anyone making new projects from scratch is living in a land of bliss while those working in projects/frameworks that started in the days of yore are having experiences across the whole spectrum of, “Wow, I sure am glad we migrated to modern php” to “please kill me, I’m in so much pain”.

  • Ransom@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I started with javascript and was reluctant to try php because of what I read online. Now Laravel is all I want to develop with

  • Eurobae@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    When I was studying I used php but not a lot so I don’t really have an opinion for it, why the “hate” for it? Coming from someone who uses React a lot

    • gkd@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      From my experience, because people see a few sets of code that are super poorly written and they just happen to be written in PHP.

      But there are other reasons from older versions of PHP that were legitimate reasons to not like the lang. a lot of stuff has changed in 7+ and lots of those concerns don’t really apply anymore though.

  • Critical Silence@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    My private website is based on CodeIgniter and by this of course on PHP.

    Can we please hate JavaScript again? (what I sadly also use)

    • soloner@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Is php worth hating? I did some in college and didn’t care for it. I don’t remember exactly why though. I built a POC super simple MVC framework and found it really easy to implement. But then I moved on to other stuff (java/ruby/python/js) and promptly forgot about it.

  • Bappity@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    2
    ·
    edit-2
    1 year ago

    one of my work’s systems runs entirely on PHP 😩 luckily it’s mostly phased out but I still have to experience hell every now and then