Remix.run Logo
hansvm a day ago

Labeled switches come pretty close. Is there a particular case you have in mind where they don't suffice?

int_19h 43 minutes ago | parent [-]

Ah, I wasn't aware of those - they seem to be a fairly recent addition? It definitely does simplify things for many common patterns, but not all, unfortunately; consider the case of a goto into the middle of a loop in C, or even something like Duff's Device.