609
Code Quality (thelemmy.club)
you are viewing a single comment's thread
view the rest of the comments
[-] sirico@feddit.uk 4 points 3 months ago

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

[-] prime_number_314159@lemmy.world 5 points 3 months ago

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.

this post was submitted on 03 May 2026
609 points (98.7% liked)

Programmer Humor

43190 readers
6 users here now

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

Rules:

founded 7 years ago
MODERATORS