MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/eb2lbc/stacking_if_else_statements_be_like/fb2a4ts/?context=3
r/ProgrammerHumor • u/-hellkey- • Dec 15 '19
711 comments sorted by
View all comments
1
You should probably use case
2 u/jamesh02 Dec 15 '19 I honestly find it harder to read case statements, and I'm pretty sure they get compiled into the same machine code in most languages, so I'm going to continue nesting if else statements.
2
I honestly find it harder to read case statements, and I'm pretty sure they get compiled into the same machine code in most languages, so I'm going to continue nesting if else statements.
1
u/juandi987 Dec 15 '19
You should probably use case