3 ms·Your one-liner is more difficult to understand. The string switch is very explicit and understandable.by VMG 15y agoYour one-liner is more difficult to understand. The string switch is very explicit and understandable.