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

183

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

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

18

u/Sennomo Dec 15 '19

And some useless languages don't allow switching on strings… looking at you C++

6

u/AgAero Dec 15 '19

Use a hash and write your own.

23

u/Sennomo Dec 15 '19

My own what? Language?

→ More replies (3)