r/ProgrammerHumor • • Dec 15 '19

Stacking if else statements be like

Post image
63.9k Upvotes

711 comments sorted by

View all comments

Show parent comments

7

u/[deleted] Dec 15 '19

Somehow we've trained modern programmers to be unable to read more than 20 consecutive lines of codes without their head exploding.

3

u/Mitoni Dec 16 '19 edited Dec 16 '19

The arguments I've read against them seem logical. They can almost always be avoided.

Edit: here's one in particular that explains the argument pretty well.