this post was submitted on 24 Jul 2026
531 points (98.0% liked)

Programmer Humor

33185 readers
1559 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 1 month ago* (last edited 1 month ago) (3 children)

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

Fry shocked gif

[–] Feyd@programming.dev 10 points 1 month ago

The code had the single responsibility to waste your time

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

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

[–] vanillama@programming.dev 3 points 1 month ago

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

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

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

[–] cbazero@programming.dev 4 points 1 month ago (1 children)

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

[–] noxypaws@pawb.social 1 points 1 month ago

that's kinda silly!!