533
you are viewing a single comment's thread
view the rest of the comments
[-] pivot_root@lemmy.world 19 points 4 days ago* (last edited 4 days ago)

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

Fry shocked gif

[-] Feyd@programming.dev 11 points 4 days ago

The code had the single responsibility to waste your time

[-] Prunebutt@slrpnk.net 8 points 4 days ago

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

[-] vanillama@programming.dev 3 points 4 days ago

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

[-] noxypaws@pawb.social 3 points 4 days ago

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

[-] cbazero@programming.dev 4 points 4 days ago

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

[-] noxypaws@pawb.social 1 points 3 days ago

that's kinda silly!!

this post was submitted on 24 Jul 2026
533 points (97.8% liked)

Programmer Humor

32507 readers
996 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