Yield as contextual keyword (was: Call for bikeshed -- break replacement in expression switch)
Remi Forax
forax at univ-mlv.fr
Wed May 22 17:20:04 UTC 2019
yes,
i fully agree.
Rémi
----- Mail original -----
> De: "John Rose" <john.r.rose at oracle.com>
> À: "Brian Goetz" <brian.goetz at oracle.com>
> Cc: "amber-spec-experts" <amber-spec-experts at openjdk.java.net>
> Envoyé: Mercredi 22 Mai 2019 18:12:03
> Objet: Re: Yield as contextual keyword (was: Call for bikeshed -- break replacement in expression switch)
> On May 22, 2019, at 8:45 AM, Brian Goetz <brian.goetz at oracle.com> wrote:
>>
>> So my recommendation here is the compromise strategy.
>
> +10 Let's do it.
>
> Even though it fails to recognize some yield method
> calls, it is easy to learn and explain and therefore more
> predictable for end users. The failure to recognize is
> going to be a rare problem; this can be proven during
> the preview period.
More information about the amber-spec-experts
mailing list