• @mcqtom
    link
    619 hours ago

    Should else be big_yikes? That seems situational to me.

    • @[email protected]
      link
      fedilink
      617 hours ago

      It’s actually a comment on the performance loss incurred from a likely failed branch prediction.

  • kamen
    link
    116 hours ago

    As if default keywords are the biggest deal-breaker.

  • Dyskolos
    link
    fedilink
    1512 days ago

    I really really dig the fuckaround/findout. It paints the try/catch with a more dreadful undertone and reeks of mystery.

    • @[email protected]
      link
      fedilink
      922 hours ago

      Yeah, I love that one.

      “Try” is too hopeful. “fuck_around” makes it clear that you know what you’re doing is dangerous but you’re going to do it anyhow. I know that in some languages wrapping a lot of code in exception blocks is the norm, but I don’t like that. I think it should be something you only use rarely, and when you do it’s because you know you’re doing something that’s not safe in some way.

      “Catch” has never satisfied me. I mean, I know what it does, but it doesn’t seem to relate to “try”. Really, if “try” doesn’t succeed, the corresponding block should be “fail”. But, then you’d have the confusion of a block named “fail”, which isn’t ideal. But “find_out” pairs perfectly with “fuck_around” and makes it clear that if you got there it’s because something went wrong.

      I also like “yeet”. Partly it’s fun for comedic value. But, it’s also good because “throw” feels like a casual game of catch in the park. “Yeet” feels more like it’s out of control, if you hit a “throw” your code isn’t carefully handing off its state, it’s hitting the eject button and hoping for the best. You hope there’s an exception handler higher up the stack that will do the right thing, but it also might just bubble all the way up to the top and spit out a nasty exception for the user.

    • noughtnaut
      link
      452 days ago

      As well as the yeet keyword, I’m really friggin’ diggin’ this. [modernisation required]

    • @[email protected]
      link
      fedilink
      English
      281 day ago

      The whole thing was pretty damn good all the way through. The only thing that had me wondering was

      Tea
      

      Until it got to

      SpillTea
      

      Well played.

      • @[email protected]
        link
        fedilink
        English
        71 day ago

        NGL, that helped me actually understand the original function. It’s been over a decade since I’ve touched anything related to C.

      • Dyskolos
        link
        fedilink
        11 day ago

        Indeed. I was unfair of me to pick only one favourite, as there are more candidates :)

  • Scrubbles
    link
    fedilink
    English
    31
    edit-2
    1 day ago

    Ugh. Just

    its_giving rizz ratios vibe;

    No more needless nesting plz

  • @9point6
    link
    922 days ago

    And a decade or so ago it was LOLCODE that had me mildly concerned for the wellbeing of my peers.

    • Demigodrick
      link
      fedilink
      1032 days ago
      HAI 1.2
      CAN HAS STDIO?
      IM IN YR LOOP UPPIN YR VAR TIL BOTH SAEM VAR AN 10
          VISIBLE SUM OF VAR AN 1
      IM OUTTA YR LOOP
      KTHXBYE
      

      A perfectly reasonable language. None of this Gen Z rubbish.

      Something something better times. Shakes stick at sky.

    • cobysev
      link
      English
      202 days ago

      For some reason, this just sparked an ancient memory of the Geek Code, which was a sort of signature block you could append to your emails and online bios to show off how much of a geek you were in the geekiest fashion possible.

      Goddamn I’m old.

      • @AnUnusualRelic
        link
        English
        31 day ago

        Wow, hadn’t thought of that thing in ages. Now all we need is for B1FF to bring back ASCII sword signatures.

      • Rob Bos
        link
        fedilink
        English
        31 day ago

        Remember it spawning a bunch of copycats? For a while every community had their own code block. I wrote one for a usenet group i was in at the time.

        alt.sysadmin and alt.sysadmin.recovery both had em iirc…

  • @straightjorkin
    link
    111 day ago

    Big “you damn kids and your phones” vibes from this

    • @[email protected]
      link
      fedilink
      English
      621 hours ago

      Every generation is peddled two insane concepts:

      When they are young, they are told that they have a weird bizarre vernacular which sounds stupid to everyone else.

      Then when they are old, they are told young people have a weird bizarre vernacular which sounds stupid to everyone else.

      Then you die.

    • Lemminary
      link
      2
      edit-2
      1 day ago

      Yes, and? Get off my lawn!

    • @Psythik
      link
      11
      edit-2
      1 day ago

      I fucking love it. Gen Z slang is so lighthearted and fun.

      • UnfortunateShort
        link
        31 day ago

        It’s because we are depressed nihilists who have given up on pretty much everything, running on gallows homour to a point where we are meming youth slang. Don’t worry, we’re fine haha… Ha…

    • @jaybone
      link
      72 days ago

      I’m not so sure. Send a link.

      • @[email protected]
        link
        fedilink
        English
        112 days ago

        Haven’t published it yet.

        Here are comparisons:

        ⚖️

        🐲

        🐲⚖️

        ⚖️🐲

        🚫🐲⚖️

        • @jaybone
          link
          81 day ago

          Post the GitHub repo.

          I will help you make this happen.

          • @[email protected]
            link
            fedilink
            English
            5
            edit-2
            1 day ago

            Sure! It doesn’t do anything yet, I just have a text file with how I’m intending to architect it.

            It quite literally started two four (edit: I can’t keep track of time) days ago.

            I’ll configure a repo, stick this in a file, and push it. I’ll reply with another comment so you (and others) can look it up.

            I’ve come up with some crazy stuff. Instead of something like “class” to indicate a class, it’s

            🏫 Followed by the emoji name of the class like 🖼️📁. So it will need to be able to handle operators in the name it’s amazingly gross! Properties and methods will also be emoji names, like to get the 🖼️📁 “File Name” it would be 📁💳.

            • @jaybone
              link
              51 day ago

              I was kind of being sarcastic. I haven’t written a compiler since I rode my dinosaur to college. Still it’s a funny idea. Could probably do it in C using a bunch of pound defines.

              • @[email protected]
                link
                fedilink
                English
                5
                edit-2
                1 day ago

                I was thinking Rust, but that works too.

                Because then I could call the Language Spoons.

                It would as uncomfortable to use as it is to watch Rusty Spoons

  • @[email protected]
    link
    fedilink
    English
    61 day ago

    I’ve seen forms of this joke quite a lot in the last few years, and it never fails to make me laugh.