I don’t know if it’s due to over-exposure to programming memes but I certainly believed that no one was starting new PHP projects in 2023 (or 2020, or 2018, or 2012…). I was under the impression we only still discussed it at all because WordPress is still around.

Would a PHP evangelist like to disabuse me of my notions and make an argument for using PHP for projects such as Kbin in this day and age?

  • Art 🌈@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I will never understand why they hate my baby PHP. It’s my second language (after Javascript). I learned it in 2002 by myself, and never could delete it from my brain, nor could I get into other languages.

    Nowadays, I use it for personal projects. PHP after version 5 has come a long way.

    There was even a time when I used it to manage different things on Linux because I couldn’t understand bash, so I used PHP instead. :P

    • ursakhiin@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I don’t hate PHP, but I am wary of developers who only work in it. For the same reason I’m wary of Java developers, though.

      A language is a tool and should be treated as such. Trying to force every problem into a single box is skin to the “everything is a nail” idea.

      That said, I’m not sure Rust was the right call for the Lemmy backend, either. I like Rust. My team is transitioning to it for a system level service. But we would have chosen a different language if our goal was a web backend.

      The thing with open source projects, though, is often times they are written in the language the developer is learning or working in at the time, not because the language is the most suited for the job.