• Dyskolos
    link
    fedilink
    1732 months ago

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

    • @jballs@sh.itjust.works
      link
      fedilink
      English
      332 months 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.

      • Lka1988
        link
        fedilink
        English
        72 months 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
        12 months ago

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

    • noughtnaut
      link
      fedilink
      532 months ago

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

    • @merc@sh.itjust.works
      link
      fedilink
      132 months 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.

  • kamen
    link
    fedilink
    22 months ago

    As if default keywords are the biggest deal-breaker.

  • @MystikIncarnate@lemmy.ca
    link
    fedilink
    English
    72 months ago

    Well. I think I’m officially out of touch with the newest generations slang terms. I only understood about half of that.

    • Clay_pidgin
      link
      fedilink
      English
      30
      edit-2
      2 months ago

      I have many gray hairs, but here’s what I know.

      • Highkey and lowkey - obvious and subtle.

      • fax is “facts” - true. Often in the sense of agreement.

      • Fuck around and find out - do something risky and reap the consequences

      • It’s giving - how it makes you feel, or what it reminds you of.

      • Cap and no cap - lying and telling the truth.

      • Big yikes - bad, especially cringey.

      • Tea - (n) gossip. (v) “spill the tea”

      • Shoutout - give credit to someone. I don’t think this one makes much sense here.

      • Yap - talk, especially too much or unnecessarily.

      • Yeet - throw, often without careful aim. (Unlike “Kobe”, which is a throw with aim)

      • @dependencyinjection@discuss.tchncs.de
        link
        fedilink
        27
        edit-2
        2 months ago

        You missed

        • Rizz = charisma
        • vibe check = Vibe is kinda like someone’s aura or energy. So to check their vibe is to call them out on it.

        Also got many grey hairs but I like to know what people mean and language evolves. Our generation did it too you get me blud.

        • Clay_pidgin
          link
          fedilink
          English
          102 months ago

          Thanks for the catch, I thought I got all of them. Stay skibidi and not Ohio, my friend.

                • @cecilkorik@lemmy.ca
                  link
                  fedilink
                  English
                  32 months ago

                  Florida is basically the unofficial US Capitol now, so it would be confusing and ambiguous to have it associated with the traditional forms of unexpected insanity. Now it’s going to be an entirely new kind of unexpected insanity, so Ohio has been selected to represent the old kind of unexpected insanity that Florida used to represent.

            • Clay_pidgin
              link
              fedilink
              English
              52 months ago

              It’s recognized by the yoots as the worst state, so being Ohio is bad!

              It’s worse than “mid”, which is meh.

  • @JakenVeina@lemm.ee
    link
    fedilink
    English
    62 months ago

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

    • cobysev
      link
      fedilink
      English
      222 months 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.

      • Rob Bos
        link
        fedilink
        English
        32 months 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…

    • Demigodrick
      link
      fedilink
      1172 months 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.

        • agentshags
          link
          fedilink
          3
          edit-2
          2 months ago

          My 21 year old is pretty into rust and html. Does that count?

          I’m pretty ignorant on most of it. In my youth, I just dabbled trying to lean basic on a c64 and AMOS on the Amiga though, so maybe not lol

          e: I think I missed the joke, probably because I’m old lol