• SlikPikker@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Type hints and comprehensions as in Python, borrow checker, traits, code interface checking in Rust. Most functional features.

    IDK; I just don’t like anything about PHP and I have worked with it. It seems bad at every task.

    • Phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Type hinting? There. Traits? There. Interfaces? There. I could go on but PHP has all these features that people keep saying are missing.

      I’m not saying you don’t have to like PHP, everyone likes there own labgua and that’s fine.

      However, people keep making shit up about phpt and then use that shit to smear it and it’s annoying. PHP is great for web sites, small and complicated, it’s great for command line scripting, it’s great for a large list of tasks and it seems that what you need is there.

      • SlikPikker@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        It doesn’t really count if you need a huge framework for it. Frankly I never saw PHP used well, and I never saw it do anything better than other languages can do.

        • Phoenixz@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          It doesn’t need a huge framework for any of the things I mentioned.

          I use my own (rather small still, really) framework to make things easier, like you’d do for any larger projects.

          But I can (and have) on many occasions just slap something together as well