• sudo@programming.dev
    link
    fedilink
    arrow-up
    56
    arrow-down
    1
    ·
    3 个月前

    At no point should C++ be considered “lawful” or “good”. Haskell would be the best.

  • mmddmm@lemm.ee
    link
    fedilink
    arrow-up
    43
    ·
    edit-2
    3 个月前

    No way Bash is lawful, or Malbolge is chaotic… And no way C++ is lawful either.

    Did you just throw the languages around at random? At least Perl fell on the right place…

    • backgroundcow@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      3 个月前

      ADA should be the lawful good.

      Bash is chaotic neutral.

      Java is lawful neutral.

      Javascript fits ok as chaotic evil.

      Move ASM to neutral evil.

      And maybe f77 as lawful evil.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      3 个月前

      Right? I do like Shell but scripts over 200 loc get quickly confusing, no matter how well you organize them. Not to start with Batch, they get confusing at 10 loc.

  • lmmarsano@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    3 个月前

    @sabrinaesaquino

    Stop comparing programming languages

    Python is VERSATILE

    JavaScript is POWERFUL

    Ruby is ELEGANT

    C is ESSENTIAL

    C++

    Java is ROBUST

    Out of all the programming languages, C++ is definitely one of them.

  • BlueKey@fedia.io
    link
    fedilink
    arrow-up
    15
    ·
    3 个月前

    Python should be one of the chaotics.
    You can even dynamically create global variables in there.

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    11
    ·
    edit-2
    3 个月前

    F tier meme.

    “Haha JavaScript sucks’” is the easiest way to spot someone who spends more time on programming subreddits then they do programming.

    • Shanmugha@lemmy.world
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      edit-2
      3 个月前

      Well, JS does suck. It doesn’t matter how much time I spend programming, this truth will stand

    • SatouKazuma@programming.dev
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      3 个月前

      JS is just insane. Learning it took far more of my time than any other language, and honestly, I’m tempted to say it’s not even a single language because of all the frameworks and non-standard libraries.

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        3
        ·
        3 个月前

        I’m tempted to say it’s not even a single language because of all the frameworks and non-standard libraries.

        Or you know, you could be tempted to say it has multiple frameworks you can choose from.

        One is more accurate than the other, but if languages are only allowed to have a single framework in your mind, then do you.

    • Quik@infosec.pub
      link
      fedilink
      arrow-up
      4
      ·
      3 个月前

      This but with PHP, kinda. It isn’t my favorite language/really good, and at some point in time it deserved the hate, but it has come a long way.

    • uuldika@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 个月前

      JS isn’t even on here though. and whoever made this meme knew enough to include two Esolangs (though I’m insulted they included nary a single 'funge.)

  • PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    3 个月前

    I haven’t used PHP in a while (10+years) but I didn’t think it was that frustrating as its reputation seems to imply today. I remember their docs all had examples and I found that pretty useful.

    • Matty_r@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 个月前

      It can be pretty frustrating when dealing with old code bases. However its introducing a lot of really great features, so if you’ve got the time to either start a new project or rewrite with the more modern features you’ll be fine.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 个月前

      For what I remember, it was just a normal interpreted language but you had to put “$” everywhere.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 个月前

      The literal entirety of Facebook / Instagram / Whatsapp’s backend is built on PHP.

      I’m not saying that was a good choice, but it does guarantee a lot of resources flowing to it’s development.

  • ThirdConsul@lemmy.ml
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    3 个月前

    PHP has got a lot of new features in the language that makes it a little bit like c# now, so it’s not that bad anymore :P

        • Valmond@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          3 个月前

          If you’re doing almost any language for a while it vecomes easy and smooth. In your opinion.

          C# is not horrendous but it lacks so many things like header files.

          • Kissaki@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 个月前

            I would hate to have header files with separate / duplicate declarations.

            If I want an interface I’ll create an interface type.

            • Valmond@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              edit-2
              3 个月前

              What about:

              Class A{ /* declarations */ };

              A a; <= doesn’t instantiate a class!

              And just put a “a.cs” file somewhere and it’ll pollute the global namespace magically.

              And on and on.

              A FOSS language would have evolved, microsoft just doesn’t care.

              But I guess it’s your fav language so you won’t take any criticism right?

  • Chris@feddit.uk
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 个月前

    I would have put Perl as lawful evil, Brainfuck as Chaotic Evil and maybe ASM should have been Neutral Evil