Finally i’m gonna be able to contribute!

  • toastboy79@kbin.earth
    link
    fedilink
    arrow-up
    9
    ·
    5 months ago

    PHP is probably a fine language, my issue is I suffered dealing with so many shitty applications written in php when I was still coming up through the ranks of IT.

    God the number of broken WordPress installs and shitty WordPress plugins.

    • xmunk
      link
      fedilink
      arrow-up
      8
      ·
      5 months ago

      I understand your pain - the real reason for that is that PHP was the first “hobbyist” programming language so a lot of self trained folks built websites that ended up slowly morphing into successful businesses.

      One of the things I’m actually most proud of from the PHP community is that around 5.2 the maintainers looked around and saw sites like Quora and StackOverflow were littered with the worst fucking PHP advice endorsing functions like mysql_query and ill-advised features like magic_quotes so the community invested a lot of resources in purging answers that preached anti-patterns and replace them with non-terrible answers.

      I work in PHP and it’s perfectly serviceable now, we’ve got strict typing, namespaces, lambdas, all the nice shit you’d expect in a modern language.