3 ms·
I had used Scala for many years before trying C#, and I have to agree. The only thing that I really missed in C# were higher-kinded types.
by harveywi 9y ago
I had used Scala for many years before trying C#, and I have to agree. The only thing that I really missed in C# were higher-kinded types.
- devdoomari 9y agoThere's F# and then there's "F* " language that seem to have higher-kinded types (I really mean F* as in 'F-star' language)
- 16bytes 9y agoI think I'd miss pattern matching the most. The first time I saw how pattern matching with regular expressions automatically extracted the matching bits I was sold. I'd also miss block expressions. I keep wanting to write if-expressions (as opposed to if-statements) in every non-scala language I touch. But I agree, c#/.net is a good alternative if you're used to the expressiveness of scala.
- pjmlp 9y agoIt is not at the same level as Scala, but C# 7 has pattern matching.