On Fri, Apr 1, 2022 at 6:48 AM Brian Goetz wrote:
>
> I'm certainly on board with a pattern-matching context that doesn't
> require a vacuous conditional. Remainder, as it often does to me, seems
> like the most likely point of confusion, but if we believe Java developers
> can get their heads ar
I'm certainly on board with a pattern-matching context that doesn't
require a vacuous conditional. Remainder, as it often does to me,
seems like the most likely point of confusion, but if we believe Java
developers can get their heads around the idea of remainder in other
contexts, I don't th
> From: "Brian Goetz"
> To: "Remi Forax"
> Cc: "amber-spec-experts"
> Sent: Monday, March 28, 2022 5:41:10 PM
> Subject: Re: [External] : Re: Pattern assignment
>> There are another different between assignment and _let_, a _let_ creates new
There are another different between assignment and _let_, a _let_
creates new fresh local variables (binding) while assignment is able
to reuse an existing local variable.
Correct, the more precise analogy is not to _assignment_, but to _local
variable declaration with initialization_ (who