this post was submitted on 11 Feb 2025
194 points (97.5% liked)

Programmer Humor

23507 readers
717 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
 

If it compiles it works, right?

I'm not gonna act like I read it all.

all 7 comments
sorted by: hot top controversial new old
[–] JohnnyCanuck@lemmy.ca 40 points 3 months ago

Not git, Perforce, but I used to have a guy on my team that would do weeks of work without checking in. 1000s of lines in 10s of files.

I gave him shit for every code review, every time we had 1-on-1s, and while he was doing his tasks. Nothing got through to him.

So I just kept dragging him back on check-ins. I'd nitpick the shit out of every line (and normally I hated that.) His stuff would inevitably break the build or be full of bugs anyway (duh) so I never felt bad that I was holding back his career since he was never getting things done "on time."

If you can't/won't break your work down into smaller chunks you aren't a skilled programmer and/or don't have respect for the people you work with who have to review your shit.

[–] ignotum@lemmy.world 32 points 3 months ago (1 children)
  1. Write a ton of code
  2. Remove all newlines
  3. Submit 1-line PR
  4. Profit
[–] LeFrog@discuss.tchncs.de 14 points 3 months ago (1 children)

Python: nice try Satan, but not today

[–] xmunk@sh.itjust.works 3 points 3 months ago

Also, Python: Please rewrite your multi-line lambdas into tuples of logic statements that you pick the last one of.

Satan has a firm grip.

[–] starshipwinepineapple@programming.dev 32 points 3 months ago (1 children)
[–] NigelFrobisher@aussie.zone 4 points 3 months ago

Or maybe use a better workflow where you’re not first finding issues after the work is already done?