2 ms·
I think the beauty of the switch statement is that when you see one you know you're just concentrating on the value of one variable. I think the if else if is a
by jimjimjimjim 5y ago
I think the beauty of the switch statement is that when you see one you know you're just concentrating on the value of one variable. I think the if else if is actually cleaner for the user example in the post.