Remove switch case fallthrough

Patrick Schluter Patrick.Schluter at bbox.fr
Sat May 15 13:08:48 UTC 2021


On Friday, 14 May 2021 at 20:53:09 UTC, David Gileadi wrote:
> On 5/14/21 12:39 PM, Ogi wrote:
>> On Thursday, 13 May 2021 at 14:25:53 UTC, rempas wrote:
>>> Exactly! We can mix things up a little! Or even add a new 
>>> statement called "match" idk
>
> ...
>
>> There’s one more problem: Walter et al. always avoid adding 
>> new keywords to the language, preferring to reuse the existing 
>> ones whenever possible. Well, we could use `if switch`.
>
> `new switch` ;)

`static switch` ;-)


More information about the Digitalmars-d mailing list