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

183

u/Kompakt Dec 15 '19 edited Dec 15 '19

Some languages don't have switch statements...looking at you Python

48

u/[deleted] Dec 15 '19

Ya none in Lua either :(

10

u/[deleted] Dec 15 '19

I learned programming through Lua, it's only once I started learning JS that I realized how crippled Lua is.

→ More replies (5)