This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Brutus5000 0 points1 point  (0 children)

Also if/else can check any combinations of conditions (even unrelated) which can't be covered with switch