• Loce@lemmy.world
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    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.

    • disenchanted@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      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
        6
        ·
        1 year ago

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

      • SurpriseWaterfall@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I think the PHP maintainers recognize that drawback and are working/have done a lot of work to fix conventions. I remember having to fix my code the last time I updated to the latest PHP version because they changed the arguments to a function call to be more in line with the arguments for other similar functions.

  • spartanatreyu@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    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
    link
    fedilink
    arrow-up
    5
    ·
    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

    • 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.

  • Eurobae@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    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
      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.

  • Bappity@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    6
    ·
    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