Re: Pattern Matching for switch (Second Preview)

2021-10-01 Thread Remi Forax
> From: "Gavin Bierman" > To: "Brian Goetz" > Cc: "amber-spec-experts" > Sent: Vendredi 1 Octobre 2021 14:49:01 > Subject: Re: Pattern Matching for switch (Second Preview) >> On 30 Sep 2021, at 23:25, Brian Goetz < [ mailto:brian.go...@oracle.com | >> brian.go...@oracle.com ] > wrote: >> [ mov

Re: Pattern Matching for switch (Second Preview)

2021-10-01 Thread Gavin Bierman
On 30 Sep 2021, at 23:25, Brian Goetz mailto:brian.go...@oracle.com>> wrote: [ moving to a-s-e ] I get the concern that a type pattern is no longer "just a variable declaration"; that was a nice part of the "patterns aren't really so hard to understand" story. But I think the usability is l