Hacker News new | ask | show | jobs
by nikolay 3353 days ago
Really?! exprswitch?! Unreadable and long!
2 comments

That's just a placeholder. Several times in the doc they say that the operator name needs to be explored, specifically to see if overloading 'switch' is feasible.
This isn't a spec, it's a thought experiment. There's no need to criticize syntax at this point.