+ 3
Depends on what you're comparing. If it's a single value, then switch-case is the best option. If there's a bit of complexity in your comparison, try to avoid switch-case.
31st Oct 2017, 9:33 PM
Witty Phantom
Witty Phantom - avatar