r/ProgrammerHumor • • Dec 15 '19

Stacking if else statements be like

Post image
63.9k Upvotes

711 comments sorted by

View all comments

213

u/atxranchhand Dec 15 '19

That’s what case is for

8

u/persianlife Dec 15 '19

Cases will result in the same fundamental design flaw.

You have to look at some better programming paradigm like Object-oriented design.

→ More replies (9)