this post was submitted on 21 Feb 2025
939 points (95.7% liked)

Programmer Humor

21881 readers
413 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
 
top 50 comments
sorted by: hot top controversial new old
[–] Dyskolos@lemmy.zip 169 points 1 month ago (4 children)

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

[–] noughtnaut@lemmy.world 53 points 1 month ago (2 children)

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

[–] enumerator4829 31 points 1 month ago* (last edited 1 month ago)
#define yeet throw
#define let const auto
#define mut &
#define skibidi exit(1)

The future is now!

load more comments (1 replies)
[–] jballs 33 points 1 month ago (3 children)

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@lemmy.dbzer0.com 7 points 1 month ago

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

load more comments (2 replies)
[–] merc 13 points 1 month 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.

[–] Hadriscus@lemm.ee 8 points 1 month ago (1 children)

just what you want from code !

load more comments (1 replies)
[–] 9point6@lemmy.world 98 points 1 month ago (2 children)

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

[–] Demigodrick@lemmy.zip 114 points 1 month ago (1 children)
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 13 points 1 month ago (2 children)

Kids today just don't know real code

load more comments (2 replies)
[–] cobysev@lemmy.world 21 points 1 month ago (2 children)

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)
[–] Lightfire228@pawb.social 89 points 1 month ago (3 children)

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

[–] BeardedGingerWonder@feddit.uk 24 points 1 month ago (1 children)

Of all the gen z lingo yeet is the best.

[–] Ropianos@feddit.org 9 points 1 month ago

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

load more comments (2 replies)
[–] ScruffyDucky@lemmy.world 43 points 1 month ago (1 children)

For programmers who need action (cross-generational):

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

image

load more comments (1 replies)
[–] scrubbles@poptalk.scrubbles.tech 35 points 1 month ago* (last edited 1 month ago) (6 children)

Ugh. Just

its_giving rizz ratios vibe;

No more needless nesting plz

load more comments (6 replies)
[–] peoplebeproblems@midwest.social 30 points 1 month ago (1 children)

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

[–] jaybone@lemmy.world 9 points 1 month ago (1 children)

I’m not so sure. Send a link.

[–] peoplebeproblems@midwest.social 12 points 1 month ago (1 children)

Haven't published it yet.

Here are comparisons:

⚖️

🐲

🐲⚖️

⚖️🐲

🚫🐲⚖️

[–] jaybone@lemmy.world 10 points 1 month ago (1 children)

Post the GitHub repo.

I will help you make this happen.

[–] peoplebeproblems@midwest.social 7 points 1 month ago* (last edited 1 month ago) (2 children)

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 📁💳.

load more comments (2 replies)
[–] mogoh@lemmy.ml 27 points 1 month ago* (last edited 1 month ago) (2 children)
play_stupid_games {
    // ...
} win_stupid_prizes(thePrize) {
    // ...
}
[–] bizzle@lemmy.world 15 points 1 month ago (4 children)

I always thought it was "prizes"

load more comments (4 replies)
load more comments (1 replies)
[–] Quacksalber 26 points 1 month ago (1 children)

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

[–] nialv7@lemmy.world 22 points 1 month ago (1 children)
[–] wise_pancake@lemmy.ca 16 points 1 month ago

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

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

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

[–] brokenlcd@feddit.it 21 points 1 month ago (1 children)

slowly steps back and returns to basic and z80 assembly

[–] magic_lobster_party@fedia.io 24 points 1 month ago (1 children)
load more comments (1 replies)
[–] AeonFelis@lemmy.world 18 points 1 month ago (1 children)

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

load more comments (1 replies)
[–] Psaldorn@lemmy.world 17 points 1 month ago (2 children)

ratios I need this and I'm an elder millenial

load more comments (2 replies)
[–] JokeDeity@lemm.ee 15 points 1 month ago

It's so painfully good.

[–] RVGamer06 13 points 1 month ago* (last edited 1 month ago) (1 children)

Conflating us again with iPad kids?

load more comments (1 replies)
[–] sheepishly@fedia.io 13 points 1 month ago (1 children)
[–] Psythik@lemmy.world 13 points 1 month ago* (last edited 1 month ago) (1 children)

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

load more comments (1 replies)
[–] straightjorkin@lemmy.world 13 points 1 month ago (2 children)

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

[–] throwback3090@lemmy.nz 9 points 1 month 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 12 points 1 month ago

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

I might have to steal that.....

[–] maniel@sopuli.xyz 11 points 1 month ago* (last edited 1 month ago)

Shoutout.SpillTea🤣

[–] cupcakezealot@lemmy.blahaj.zone 9 points 1 month ago (1 children)

Too many capital letters in the gen z version.

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

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

[–] mcqtom@lemmy.world 8 points 1 month ago (1 children)

Should else be big_yikes? That seems situational to me.

[–] phlegmy 7 points 1 month ago

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

[–] MystikIncarnate@lemmy.ca 7 points 1 month ago (1 children)

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

[–] clay_pidgin 30 points 1 month ago* (last edited 1 month ago) (1 children)

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 28 points 1 month ago* (last edited 1 month ago) (1 children)

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 10 points 1 month ago (5 children)

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

load more comments (5 replies)
load more comments