this post was submitted on 03 May 2026
252 points (99.2% liked)

Programmer Humor

42052 readers
212 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] sirico@feddit.uk 4 points 3 days ago (1 children)

Oh so just because it's if statements all the way down it's not good enough?

If it's all if statements and if it uses well nested logic and if it's written in a modern language and if the number of if statements doesn't exceed 57, it could be good. Otherwise it is overly verbose. Otherwise it is dated. Otherwise it is spaghetti code. Otherwise it should go to the regular code check routine function.