C# 9

Remi Forax forax at univ-mlv.fr
Wed May 20 21:21:14 UTC 2020

It's always interesting to see what the others do

For records, it's quite nice, you have a new literal syntax for creating a record which we know is very effective thanks to Kotlin and a with expression syntax to derive a record instance from an existing one by changing the values of some record components (init properties in C#). 

And for pattern matching:

Also i quite don't understand why they don't do target typing on the parenthesis expression (tuple) instead of new
  Point p = (1, 2);
instead of
  Point p = new (1, 2);


More information about the amber-spec-experts mailing list