> On 28. Apr 2020, at 15.09, mojo2012 <meister.fu...@gmail.com> wrote:
>
> I'm looking forward to get some feedback from you (hopefully positive :-))
>
> [ ] +1 Add either val or let as new shortcut for "final def"/"final var"
> [ ] 0 I don't have a strong opinion about this, but I assume it's ok
> [ ] -1 I don't like this feature because ...
>
Sorry, -1 from me: I'm fine with "final foo" and I agree with the reasoning
Anne gave.
Also, I disagree with deprecating "def" so that people would use "var" instead.
I tend to think of "def" as "default" i.e. "Object". As pointed out by MG,
"var" in Java means a different thing. But I don't really care about the
difference, because I tend to change "var" to "def" when I clean up any Java
code that I've copied from somewhere :) It's just nice that I can do the
cleanup after I've tried the code already.
-mikko