Fair point, that convinced me. No fallthrough then - first hit and stop.
There is nothing wrong with explicitly causing fall through by the addition of a keyword for that purpose.
True, and not true as well... It depends on the overall situation.
In general (and there are existing counter examples, but that doesn't mean adding to that list is a good idea).... In general, you want to keep the "rules" of a feature simple.
That is, if you read a bit of code, you don't want to look for too many "exceptions from the rule". Each optional behaviour means you must add extra care when reading the code, so you will not miss any bit that triggers such an optional behaviour. (fall-through on a keyword is optional).
This doesn't say, that there can't be optional behaviours, but balancing how many of them there should be is important.
Is it just and only fall-through and will always only be that?
What about the new "case"...?
What will fall-through do there?
- go to the next block that matches the condition (since more than one can).
- go to the next block (never mind the condition)
- will fall-through evaluate the condition of the next block? (triggering side effects in called functions)
The last may seem an odd question, because if it knows it enters the block, then why should it eval the condition?
But, then the code in the block may expect that the condition was executed, the code may rely on those side effects....
Note, I am not saying that any of that is right or wrong or should or shouldn't be done...
But, there are a lot of tiny details that need to be very exactly defined.
Don't define them now, or don't do it well, and the piper will have to be paid later.
And, while you single "fall-through" optional behaviour may be fine in terms of how much optional behaviour it adds (and if the code will be easily misread or not), it has a lot of decisions following it, and if they are introducing more optional behaviours => then that may change...