3 ms·Switches are quite useful when you have a finite set of options you want to match against.by saagarjha 7y agoSwitches are quite useful when you have a finite set of options you want to match against.