Extended method reference - A proposal

Mariell Hoversholm mariell.hoversholm at paf.com
Tue May 17 12:25:25 UTC 2022


To start the process, you could outline a proper proposal?

I have to warn you, though, that this seems like a bit of an arbitrary
change with no particular pros besides saving a few characters. It is also
much less clear from first glance: the `x -> y` syntax is clear in its
intent, and is distinct from a method reference and method call. The
existing syntax is also well rooted in other languages having the exact
same concept, including (but not limited to) C#, ECMAScript 6, Kotlin,
Groovy, and TypeScript. Having too many options for the same product is a
thing, too :-).

Best of luck,
Mariell


More information about the amber-dev mailing list