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?

  • farizer@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I know it sounds childish but PHP is lame as hell same as java. Rust or go would have definitely been a cooler choice. I mean PHP gets the job done, but still…

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

          In a way though he’s right, picking a language because it is “cool” is the wrong reason to pick a language. You should be looking at other things like performance, scalability, security, functionality and see if those facets align with the requirements for your project.

          • Hexorg@beehaw.orgM
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            When doing a project where those things matter - sure. But if it’s your hobby protect you can do anything

              • Hexorg@beehaw.orgM
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                1 year ago

                I think the challenge arises when your hobby project gets funding and thousands of people start using it… But at that point the codebase is likely locked into many previously made decisions. Locked in as in - it would take too much effort to change it.

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

        No it’s not. If I work on something in my free time / voluntarily, I want to have fun. I want to enjoy it. If PHP pisses me off but Rust thrills me, of course I choose Rust. That’s the freedom you have if you start a project. That there are more maintainers and even a bunch of contributors underlines that it was the right choice.