24 Jun
2020
24 Jun
'20
6:39 a.m.
2) Use comma as the separator - this is already legal syntax too, but IMO it reads more naturally. (And IIRC there are already contexts where brackets are necessary to indicate a tuple.)
This would be my preferred option. Another possibility would to be allow cases to share the same suite by stacking them: case 401: case 402: case 403: ... Or perhaps both. The stacking option could be useful if the cases are complicated. -- Greg