lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@dosuser123456@lemmy.sdf.org to Programmer Humor@programming.dev • 2 months ago

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

lemmy.sdf.org

message-square
93
fedilink
136

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

lemmy.sdf.org

@dosuser123456@lemmy.sdf.org to Programmer Humor@programming.dev • 2 months ago
message-square
93
fedilink
alert-triangle
You must log in or register to comment.
  • @sudo@programming.dev
    link
    fedilink
    55•2 months ago

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

    • @rtxn@lemmy.world
      link
      fedilink
      24•2 months ago

      Haskell is where hope and sanity go to die.

      • @sudo@programming.dev
        link
        fedilink
        5•2 months ago

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

    • @dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      7•2 months ago

      Haskell would be the best.

      lisp wants some words with you about that

      • @sudo@programming.dev
        link
        fedilink
        6•2 months ago

        I wouldn’t call lisp “lawful”.

  • @rockSlayer@lemmy.blahaj.zone
    link
    fedilink
    English
    54•2 months ago

    Some of those color choices were chaotic evil too

    • @dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      6•2 months ago

      i didnt make the template

  • Sonotsugipaa
    link
    fedilink
    English
    53•2 months ago

    C++, lawful good

    • @dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      10•2 months ago

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

      • @twice_hatch@midwest.social
        link
        fedilink
        English
        2•2 months ago

        Hi ops Dad

      • Lena
        link
        fedilink
        English
        1•2 months ago

        That seems like a great dad

    • @Valmond@lemmy.world
      link
      fedilink
      3•2 months ago

      Ah, template code.

      • @Kissaki@programming.dev
        link
        fedilink
        English
        4•2 months ago

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

    • @mkwt@lemmy.world
      link
      fedilink
      3•2 months ago

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

      • Sonotsugipaa
        link
        fedilink
        English
        2•2 months 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
      2•2 months ago

      That I’ll call chaotic evil

      • Sonotsugipaa
        link
        fedilink
        English
        1•2 months ago

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

        • @Boomkop3@reddthat.com
          link
          fedilink
          2•2 months ago

          Depends on how much you hate yourself

  • @mmddmm@lemm.ee
    link
    fedilink
    43•
    edit-2
    2 months 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
      11•
      edit-2
      2 months 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
      4•2 months 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
    link
    fedilink
    20•
    edit-2
    2 months ago

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

  • @lmmarsano@lemmynsfw.com
    link
    fedilink
    English
    18•
    edit-2
    2 months 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
    link
    fedilink
    15•2 months ago

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

    • @Valmond@lemmy.world
      link
      fedilink
      5•2 months ago

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

      • @_stranger_@lemmy.world
        link
        fedilink
        4•2 months 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
          1•2 months ago

          It’s like having a PHP webserver inside a class

        • BlueKey
          link
          fedilink
          1•2 months 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
      2•2 months ago

      Most overrated language imho.

  • @Im_old@lemmy.world
    link
    fedilink
    12•
    edit-2
    2 months ago

    I would have put assembly as true neutral

  • @masterspace@lemmy.ca
    link
    fedilink
    English
    12•
    edit-2
    2 months 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
      20•
      edit-2
      2 months ago

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

    • @SatouKazuma@programming.dev
      cake
      link
      fedilink
      8•2 months 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
        2•2 months 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
      4•2 months 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
      2•2 months 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
        2•2 months ago

        It’s in the title

  • @ThirdConsul@lemmy.ml
    link
    fedilink
    8•2 months 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
      0•2 months ago

      C# is crap though. Well IMO anyways.

      • @Kissaki@programming.dev
        link
        fedilink
        English
        2•2 months ago

        C# is pretty much my fav

        • @Valmond@lemmy.world
          link
          fedilink
          0•2 months 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
            1•2 months 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
              0•
              edit-2
              2 months 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
                1•2 months 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
                  0•2 months ago

                  Busted 😁

  • Omega
    link
    fedilink
    8•2 months ago

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

    • @Kissaki@programming.dev
      link
      fedilink
      English
      5•2 months 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
        1•2 months ago

        Ba-dum-ts!

      • Omega
        link
        fedilink
        1•2 months ago

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

  • @PieMePlenty@lemmy.world
    link
    fedilink
    8•2 months 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
      3•2 months 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
      2•2 months ago

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

      • @Kissaki@programming.dev
        link
        fedilink
        English
        2•2 months ago

        🤑

    • @masterspace@lemmy.ca
      link
      fedilink
      English
      1•2 months 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
    8•2 months ago

    C++ good? Shiggity diggity

    • @trolololol@lemmy.world
      link
      fedilink
      6•2 months ago

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

      • @Valmond@lemmy.world
        link
        fedilink
        1•2 months ago

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

  • Chris
    link
    fedilink
    English
    6•2 months ago

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

    • @Scoopta@programming.dev
      link
      fedilink
      3•2 months ago

      I feel like malbolge is a much better fit for chaotic evil than brain fuck is but I agree with the rest

      • Chris
        link
        fedilink
        English
        0•2 months ago

        To be fair I’d not heard of Malbolge so whatever.

  • @TootSweet@lemmy.world
    link
    fedilink
    English
    6•2 months ago

    Someone woke up this morning and chose violence.

    • @Kissaki@programming.dev
      link
      fedilink
      English
      2•2 months ago

      Where can I find this language called violence?

      • @TootSweet@lemmy.world
        link
        fedilink
        English
        2•2 months ago

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

        • @Kissaki@programming.dev
          link
          fedilink
          English
          1•2 months ago

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

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
  • 1.01K users / day
  • 5.31K users / week
  • 9.37K users / month
  • 18.2K users / 6 months
  • 23.6K subscribers
  • 1.44K Posts
  • 50.9K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org