• jungle
    link
    fedilink
    98 months ago

    I think PHP is shit because I used it about 14 years ago (+/- 1/2 years), where it was crystal clear that the language was written by a complete amateur. I’ve example off the top of my head: you couldn’t reference an element of an array returned by a function in the same line, you had to first assign the function’s output to a variable and only then were you able to reference an element of the array in the variable. Like, WTF!!!???

    It may have improved over time, I just don’t care enough to find out. It doesn’t deserve my attention.

    • @xmunk@sh.itjust.works
      link
      fedilink
      58 months ago

      Yea, I used Rust 14 years ago and it didn’t even have a compiler, what a fucking clown car of a language!

      (Also, they fixed that with a really smooth syntax… and 14 years ago, you actually could do it with list())

      • jungle
        link
        fedilink
        18 months ago

        I’ve designed languages from the ground up, and written interpreters and compilers, so maybe I’m a bit of a snob regarding that kind of thing.

        With all the levels of abstraction nowadays it’s impossible for anyone to understand the whole stack, so I don’t blame you for not caring how things are implemented under the hood.

        But that issue with PHP (one of many) made me want to find the person who wrote that abomination and slap them with a baseball bat.