• rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 day ago

    Aliasing no_cap and cap to true and false…

    I might have to steal that…

  • Dyskolos@lemmy.zip
    link
    fedilink
    arrow-up
    156
    ·
    2 days 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
      arrow-up
      28
      ·
      2 days 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.

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

  • Destide@feddit.uk
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    2 days ago

    Just needs a rap about the fun in functions performed by 60-year-old seniors

  • MystikIncarnate@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    2 days 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@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      30
      ·
      edit-2
      2 days 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
        arrow-up
        27
        ·
        edit-2
        2 days 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.

                • cecilkorik@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  1 day 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@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              5
              ·
              2 days ago

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

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

          • peoplebeproblems@midwest.social
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            2 days 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@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              2 days 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.

              • peoplebeproblems@midwest.social
                link
                fedilink
                English
                arrow-up
                5
                ·
                edit-2
                2 days 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

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