SAGF
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
dosuser123456@lemmy.sdf.org to Programmer Humor@programming.dev · 26 days ago

js is in the "pure embodiment of hell" category along with vb.net and php

message-square
89
link
fedilink
131

js is in the "pure embodiment of hell" category along with vb.net and php

dosuser123456@lemmy.sdf.org to Programmer Humor@programming.dev · 26 days ago
message-square
89
link
fedilink
alert-triangle
You must log in or register to comment.
  • sudo@programming.dev
    link
    fedilink
    arrow-up
    56
    arrow-down
    1
    ·
    26 days ago

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

    • rtxn@lemmy.world
      link
      fedilink
      arrow-up
      25
      arrow-down
      1
      ·
      26 days ago

      Haskell is where hope and sanity go to die.

      • sudo@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        26 days ago

        That’s when you have to comply with decades of backwards compatibility.

    • dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      26 days ago

      Haskell would be the best.

      lisp wants some words with you about that

      • sudo@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        26 days ago

        I wouldn’t call lisp “lawful”.

  • rockSlayer@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    55
    arrow-down
    1
    ·
    26 days ago

    Some of those color choices were chaotic evil too

    • dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      6
      ·
      26 days ago

      i didnt make the template

  • Sonotsugipaa@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    53
    ·
    26 days ago

    C++, lawful good

    • dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      10
      ·
      26 days ago

      tbh i didnt even make this meme, it was my dad, i just posted it here

      • twice_hatch@midwest.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        Hi ops Dad

      • Lena@gregtech.eu
        link
        fedilink
        English
        arrow-up
        1
        ·
        24 days ago

        That seems like a great dad

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      25 days ago

      Ah, template code.

      • Kissaki@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        25 days ago

        Template-C++ is not C++ after all /s

    • mkwt@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      25 days ago

      Someday the concepts will come and fix all of this. It has been foretold.

      • Sonotsugipaa@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        Concepts are already here - (as of now) they fix a subset of this, and errors messages can still be extremely long.
        They’re less like “here’s every single template parameter of the involved types” and more like “this template thingy has many specializations with different constraints, here’s a list of all of them and why none of them are satisfied with your parameters”

    • Boomkop3@reddthat.com
      link
      fedilink
      arrow-up
      2
      ·
      26 days ago

      That I’ll call chaotic evil

      • Sonotsugipaa@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        25 days ago

        Not evil by itself, but if you want to obfuscate C++20 code you can get REALLY creative…

        • Boomkop3@reddthat.com
          link
          fedilink
          arrow-up
          2
          ·
          25 days ago

          Depends on how much you hate yourself

  • mmddmm@lemm.ee
    link
    fedilink
    arrow-up
    43
    ·
    edit-2
    26 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
      26 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
      ·
      26 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.

  • pewpew@feddit.it
    link
    fedilink
    arrow-up
    20
    ·
    edit-2
    26 days ago

    C++ is chaotic goodl, C is lawful good in my opinion

  • lmmarsano@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    25 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
    ·
    25 days ago

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

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      25 days ago

      Or stick a new variable onto the instance of a class 🤯

      • _stranger_@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        25 days ago

        or return values for properties that don’t exist, and only get created on access!

        I love python.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          24 days ago

          It’s like having a PHP webserver inside a class

        • BlueKey@fedia.io
          link
          fedilink
          arrow-up
          1
          ·
          25 days ago

          Or have variables inside a loop hoisted up in the function. Fun when you capture them with lambdas.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 days ago

      Most overrated language imho.

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    11
    ·
    edit-2
    26 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
      21
      arrow-down
      1
      ·
      edit-2
      26 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
      ·
      26 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
        ·
        26 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
      ·
      25 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
      ·
      25 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.)

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        It’s in the title

  • Im_old@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    26 days ago

    I would have put assembly as true neutral

  • Omega@discuss.online
    link
    fedilink
    arrow-up
    8
    ·
    25 days ago

    PHP has weird decisions but in the end it’s a good back end

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      25 days ago

      I think the front and back end of PHP are pretty similar. They are both the same letter P after all.

      • Colloidal@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        25 days ago

        Ba-dum-ts!

      • Omega@discuss.online
        link
        fedilink
        arrow-up
        1
        ·
        25 days ago

        i needed to switch devices to get this joke, and man, shut up haha

  • ThirdConsul@lemmy.ml
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    26 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
      ·
      25 days ago

      C# is crap though. Well IMO anyways.

      • Kissaki@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        C# is pretty much my fav

        • Valmond@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          25 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
            ·
            24 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
              23 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?

              • Kissaki@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                23 days ago

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

                If that’s your take I’ll just leave it at that.

                • Valmond@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  23 days ago

                  Busted 😁

  • PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    25 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.

    • Matty_r@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      25 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.

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

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

      • Kissaki@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        🤑

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 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.

  • twice_hatch@midwest.social
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    2
    ·
    25 days ago

    C++ good? Shiggity diggity

    • trolololol@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      25 days ago

      Tell me op never did c++ without telling me op never did c++

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        25 days ago

        C++ is the wizard, the nitroglycerin glass vial type.

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    26 days ago

    Someone woke up this morning and chose violence.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      25 days ago

      Where can I find this language called violence?

      • TootSweet@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        25 days ago

        Damn. You’re tempting me to make a novelty language.

        • Kissaki@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          24 days ago

          Other languages have terminology like throw and break. We’re not too far off.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    26 days ago

    Whats DIS?

    • uuldika@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      25 days ago

      It appears to be Dis thing right here.

      Apparently it’s a nerfed variant of Malbolge. Malbolge is literally cryptographically difficult to program in, while Dis is merely migraine-inducing.

    • dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      22 days ago

      esolangs.org/wiki/Dis

      tldr: malbolge wimpmode

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.24K users / day
  • 4.65K users / week
  • 9.29K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.37K Posts
  • 48.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org