r/programminghumor • u/tkdeng • 7h ago
r/programminghumor • u/Sleeping_Comet001 • 6h ago
Claude credits ran out, and you're on your own
r/programminghumor • u/S7lb_ • 3h ago
Bro took it personally ☠️☠️
galleryJust told a friend to move his ass and do a task on a project
He sent me this ☠️
r/programminghumor • u/NomsaMbeki-8 • 2d ago
How I cleanse my spirit after pushing 10 thousand lines of slop to prod
r/programminghumor • u/IntegrityError • 1d ago
This is how my deployment has changed
Rule7: The terminal backgrounds are AI, because it makes fun of ai.
r/programminghumor • u/Own_your_code • 2d ago
Would you have deleted this "useless" line from ChatGPT's code?
ChatGPT wrote this getter for me:
public List<String> getTransactionHistory() {
return new ArrayList<>(transactionHistory);
}
Looks like an unnecessary copy, right? So I "cleaned it up":
public List<String> getTransactionHistory() {
return transactionHistory;
}
Then, from outside the class:
List<String> h = account.getTransactionHistory();
h.clear();
h.add("Deposited: 1000000.0");
It worked. The history now showed a $1,000,000 deposit that never happened, even though transactionHistory is private.
Turns out `private` protects the variable, not the list it points to. The getter was handing out a reference to the real list. The copy was the whole protection.
I explained it step by step for beginners here: https://youtu.be/Q22NbRbl-eY
What's the "useless-looking" line that turned out to matter most in your code?
r/programminghumor • u/Zealousideal_Pain_88 • 4d ago
I want to start a trend for funny Lisp code
r/programminghumor • u/StrangeSupermarket71 • 6d ago
peak vibecoding
galleryso long story short some kids (im talking literal 9th graders) got their hands on a leaked xbox build of gta 6, they were tokenmaxxing for the past few days trying to make a viable recomp for pc until their github repo/100k members discord full of kids got dcma'd altogether. the repo were stalled for some time because the owner of the repo were going to school btw
r/programminghumor • u/NomsaMbeki-8 • 9d ago
What I get for trying to be smart
I was real dumb 3 years ago … I have been burned learned my lesson and since learnt git ⭐️
r/programminghumor • u/Disastrous_Gate2402 • 9d ago
I want some wallpaper
please give me your best wallpaper codding humor for my PC 🫶
