900
fuck_around/find_out (sh.itjust.works)
top 50 comments
sorted by: hot top controversial new old
[-] Lightfire228@pawb.social 81 points 1 day ago

As much as this hurts, yeet; as an alias throw; is hilarious

[-] Jezza@sh.itjust.works 4 points 21 hours ago* (last edited 21 hours ago)

Funnily enough, that is a keyword in rust.

(it's a placeholder to remove any bikeshedding)

[-] BeardedGingerWonder@feddit.uk 19 points 1 day ago

Of all the gen z lingo yeet is the best.

[-] Ropianos@feddit.org 7 points 1 day ago

You can yoink that word from my cold, dead hands!

[-] mcqtom@lemmy.world 7 points 22 hours ago

Should else be big_yikes? That seems situational to me.

[-] phlegmy@sh.itjust.works 6 points 20 hours ago

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

[-] Dyskolos@lemmy.zip 156 points 1 day 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 9 points 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.

[-] noughtnaut@lemmy.world 46 points 1 day ago

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

[-] enumerator4829@sh.itjust.works 26 points 1 day ago* (last edited 1 day ago)
#define yeet throw
#define let const auto
#define mut &
#define skibidi exit(1)

The future is now!

load more comments (1 replies)
[-] jballs@sh.itjust.works 28 points 1 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.

load more comments (3 replies)
load more comments (2 replies)
[-] scrubbles@poptalk.scrubbles.tech 33 points 1 day ago* (last edited 1 day ago)

Ugh. Just

its_giving rizz ratios vibe;

No more needless nesting plz

[-] rumba@lemmy.zip 5 points 1 day ago

Honestly, that's about an inch away from Python...

[-] TwilightKiddy@programming.dev 6 points 1 day ago* (last edited 19 hours ago)

Considering vibe is probalby float, I doubt any exceptions can be thrown there, you can eliminate another useless scope.

Even if it's not float, I'd consider burning alive anyone who overrides an operator like this anyway.

[-] Lemminary@lemmy.world 4 points 1 day ago

Float? Do you mean fax? Get with the program, old man

[-] TwilightKiddy@programming.dev 3 points 19 hours ago

If you confused period and fax intentionally, I commend the effort.

[-] 9point6@lemmy.world 94 points 1 day ago

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

[-] Demigodrick@lemmy.zip 106 points 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.

[-] EntirelyUnlovable@lemmy.world 14 points 1 day ago

Kids today just don't know real code

load more comments (2 replies)
[-] cobysev@lemmy.world 21 points 1 day 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.

load more comments (2 replies)
[-] kamen@lemmy.world 1 points 18 hours ago

As if default keywords are the biggest deal-breaker.

[-] straightjorkin@lemmy.world 12 points 1 day ago

Big "you damn kids and your phones" vibes from this

[-] throwback3090@lemmy.nz 6 points 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.

load more comments (1 replies)
[-] rumba@lemmy.zip 11 points 1 day ago

Aliasing no_cap and cap to true and false.....

I might have to steal that.....

[-] JokeDeity@lemm.ee 15 points 1 day ago

It's so painfully good.

[-] WhiskyTangoFoxtrot@lemmy.world 3 points 1 day ago

Good thing I'm sticking with GDScript.

[-] sheepishly@fedia.io 14 points 1 day ago
[-] Psythik@lemmy.world 12 points 1 day ago* (last edited 1 day ago)

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

load more comments (1 replies)
[-] ScruffyDucky@lemmy.world 43 points 1 day ago

For programmers who need action (cross-generational):

https://lhartikk.github.io/ArnoldC/

image

load more comments (1 replies)
[-] peoplebeproblems@midwest.social 27 points 1 day ago

That's way better than my emoji based programming language.

load more comments (6 replies)
[-] CarbonBasedNPU@lemm.ee 1 points 20 hours ago

Everyones first language should be brainfuck CMV.

[-] mogoh@lemmy.ml 27 points 1 day ago* (last edited 1 day ago)
play_stupid_games {
    // ...
} win_stupid_prizes(thePrize) {
    // ...
}
[-] bizzle@lemmy.world 16 points 1 day ago

I always thought it was "prizes"

load more comments (4 replies)
load more comments (1 replies)
[-] AeonFelis@lemmy.world 16 points 1 day ago

Ah, yes. A private method for working on a public field.

load more comments (1 replies)
[-] ulterno@programming.dev 9 points 1 day ago

This was by far the best way to explain current slang.
I got all of it No Tea

[-] JakenVeina@lemm.ee 6 points 1 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.

[-] Quacksalber@sh.itjust.works 27 points 1 day ago

I'd take that yeet instead of return...

[-] nialv7@lemmy.world 21 points 1 day ago
[-] wise_pancake@lemmy.ca 15 points 1 day ago

This is a better argument to adopt Rust than memory safety or even sane package management.

[-] iAvicenna@lemmy.world 6 points 1 day ago

(ノಠ益ಠ)ノ彡┻━┻

[-] sirico@feddit.uk 23 points 1 day ago* (last edited 1 day ago)

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

[-] Psaldorn@lemmy.world 16 points 1 day ago

ratios I need this and I'm an elder millenial

load more comments (2 replies)

Too many capital letters in the gen z version.

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 21 Feb 2025
900 points (95.5% liked)

Programmer Humor

20033 readers
762 users here now

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

founded 2 years ago
MODERATORS