News for hackers. Stuff that matters.
Re:JavaScript Pattern Matching Proposal by edflsafoiewq on Wednesday April 25, 2018 @04:00PM (#16925464)
I don't like it. This is a false consistency. It looks like a switch but works totally differently (match is semantically more like an if-else chain). The proposal author gives a similar rejection of this syntax under the section "=> for leg bodies" in the proposal.

There are no comments on this comment yet.