May-06-2021, 03:24 PM
This will not win over any advocates:
Now if you could site other examples where fall-through is supported, particularly where it is not used in a case statement, it may bolster your proposal. I cannot think of any such example but always like expanding my horizons. It will certainly work better than slinging insults and making vague claims.
Quote:Fallthroughs make sense. they exist. you can read the docs. You're just being a hobgoblinSo far the only examples of fall-through in other languages are C or C derived languages, and there it is only used in a switch block. I grew up being told that fall-through in a switch block was something to guard against and that if you felt like you needed to use fall-through you really needed to rethink your design. As I said before, I see the fallthrough statement in go as proof that Ken Thompson agrees that fall-through was a bad idea in general and should only be used in special cases.
Now if you could site other examples where fall-through is supported, particularly where it is not used in a case statement, it may bolster your proposal. I cannot think of any such example but always like expanding my horizons. It will certainly work better than slinging insults and making vague claims.