Remove switch case fallthrough
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun May 16 02:04:35 UTC 2021
On 5/14/21 6:40 PM, ag0aep6g wrote:
> 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` ;)
>
> `switch with out break` :P
That's just fantastic.
More information about the Digitalmars-d
mailing list