Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
jimjimjimjim
· 5y ago · 0 comments
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.
Comments
No comments yet.
Better HN