• throwback3090@lemmy.nz
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 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.

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    ·
    15 hours ago

    Aliasing no_cap and cap to true and false…

    I might have to steal that…

  • Dyskolos@lemmy.zip
    link
    fedilink
    arrow-up
    147
    ·
    23 hours ago

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

    • merc@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      8 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.

    • jballs@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      27
      ·
      20 hours 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.

  • JakenVeina@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    ·
    14 hours ago

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

      • UnfortunateShort@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        13 hours 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…

    • Demigodrick@lemmy.zip
      link
      fedilink
      arrow-up
      103
      arrow-down
      1
      ·
      1 day 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.

        • moody@lemmings.world
          link
          fedilink
          arrow-up
          7
          arrow-down
          1
          ·
          21 hours ago

          Hell, kids today don’t even number their lines anymore. What’s wrong with the world?

        • agentshags@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          22 hours 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

    • cobysev@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      23 hours 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@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        19 hours 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
        arrow-up
        3
        ·
        21 hours 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…