this post was submitted on 24 Jul 2026
428 points (98.2% liked)

Programmer Humor

32452 readers
1507 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pivot_root@lemmy.world 19 points 19 hours ago* (last edited 19 hours ago) (3 children)

People don't like tracing what something is doing across seven 12-line functions spread through multiple files?

Fry shocked gif

[–] Prunebutt@slrpnk.net 8 points 16 hours ago (1 children)

He'd probably say that 12 lines is waaaay too much!

[–] vanillama@programming.dev 3 points 15 hours ago

Yeah, he'd break it into 12 methods that call each other one after the other instead

[–] Feyd@programming.dev 10 points 18 hours ago

The code had the single responsibility to waste your time

[–] noxypaws@pawb.social 3 points 16 hours ago (1 children)

What suggestion of his is related to that, just out of sheer curiosity?

[–] cbazero@programming.dev 3 points 14 hours ago

He says a function should never be longer than 4 lines (in his Clean Code book).