Remove switch case fallthrough
rempas
rempas at tutanota.com
Thu May 13 14:51:33 UTC 2021
On Thursday, 13 May 2021 at 14:34:15 UTC, IGotD- 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
>
> That could be possibility to add pattern matching capabilities
> to D and renew switch that way and add new features as well. D
> already has some kind of "match" but implemented as a library,
> maybe D should extend that and bring into the language.
Not "should", they "must" do it! Like I said, a language must
always move forward! However I said my opinion, now it's up to
them to decide if they want to do it or not...
More information about the Digitalmars-d
mailing list