The case for no case

John Rose john.r.rose at
Fri Jun 5 00:14:00 UTC 2020

On Jun 4, 2020, at 2:17 AM, Remi Forax <forax at> wrote:
> One simple solution is to use different keyword for different kind of patterns,
> by example, "case" for a constant pattern, "instanceof" for the type pattern, "default" the default pattern, etc

That strikes me as making the job of mechanical parsing easier, and the job of *reading* harder.
You’d replace a uniform left column of case/case/case with a heterogeneous mix of keywords.
And most of the time you wouldn’t care which is which.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amber-spec-experts mailing list