|
|
|
|
|
by MrStonedOne
2268 days ago
|
|
One annoying thing about the war on case fallthrough at the language level is the lack of imagination. `continue` is a thing, compliments switch's existing `break` statement usage and is overall a much better solution for explicitly specifying fallthrough then returning special objects or c#'s abuse of goto. |
|
I mean you could kinda argue that switch could conceptually mean something like
but then continue still feels magic since it bypasses the test.