• sudo@programming.dev
    link
    fedilink
    arrow-up
    53
    arrow-down
    1
    ·
    10 days ago

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

  • mmddmm@lemm.ee
    link
    fedilink
    arrow-up
    40
    ·
    edit-2
    10 days ago

    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
      10 days ago

      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
      ·
      10 days ago

      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
    17
    ·
    edit-2
    9 days ago

    @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
    ·
    9 days ago

    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
    10
    ·
    edit-2
    10 days ago

    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
      20
      arrow-down
      1
      ·
      edit-2
      10 days ago

      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
      ·
      10 days ago

      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
        ·
        10 days ago

        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
      ·
      9 days ago

      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
      ·
      9 days ago

      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.)

  • ThirdConsul@lemmy.ml
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    10 days ago

    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
          ·
          9 days ago

          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
            ·
            8 days ago

            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
              7 days ago

              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?

  • PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    9 days ago

    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.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      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.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      9 days ago

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

    • Matty_r@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      9 days ago

      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.

  • Chris@feddit.uk
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 days ago

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