534
you are viewing a single comment's thread
view the rest of the comments
[-] pivot_root@lemmy.world 18 points 1 month ago* (last edited 1 month 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 1 month ago

The code had the single responsibility to waste your time

[-] Prunebutt@slrpnk.net 8 points 1 month ago

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

[-] vanillama@programming.dev 2 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

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

[-] cbazero@programming.dev 4 points 1 month ago

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!!

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

Programmer Humor

33068 readers
488 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