DEV Community

Discussion on: Language Proposal: The 'Any' Switch Case

Collapse
 
rhymes profile image
rhymes

I have the feeling it'd complicate things for the reader while effectively saving only a few lines. What if suddenly you need to change the order in which operations are run but only for one case?

But it's also similar to a finally construct for exception handling. It might make sense in that regard