5 ms·
Looks similar to the Scala syntax: http://docs.scala-lang.org/tutorials/tour/pattern-matching.html http://docs.scala-lang.org/tutorials/tour/pattern-matching.h.
by partycoder 10y ago
Looks similar to the Scala syntax: http://docs.scala-lang.org/tutorials/tour/pattern-matching.html http://docs.scala-lang.org/tutorials/tour/pattern-matching.h...
I wonder if there will be a way to do something like case classes in C#.
- tintoy 10y agoI think they're still working on that: https://github.com/dotnet/roslyn/blob/features/records/docs/features/records.md https://github.com/dotnet/roslyn/blob/features/records/docs/...
- partycoder 10y agoNice. I hope it's interoperable with F#
- brkpn 10y agoC# and Scala look more like each other with every C# iteration, with Java trailing by about 15 years. Java 8 added features which were in C# in v1.0.