697
Sounds great in theory (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] argv_minus_one@beehaw.org 5 points 2 years ago

It also forces you to not have giant functions.

No, being unable to read giant functions is what forces me not to have giant functions.

[-] Hexorg@beehaw.org 4 points 2 years ago

My friend, let me tell you a story during my studies when I had to help someone find a bug in their 1383-line long main() in C… on the other hand I think Ill spare you from the gruesome details, but it took me 30 hours.

[-] argv_minus_one@beehaw.org 2 points 2 years ago

Case in point, actually. Whenever I'm forced to write a giant function, I always get nervous because it could be crawling with bugs that I have little hope of spotting.

this post was submitted on 05 Aug 2023
697 points (100.0% liked)

Programmer Humor

33105 readers
255 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS