3 ms·
C# 8.0 will have a switch expression: https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#switch-expressions https://docs.microsoft.com/en-us/dotn
by svick 7y ago
C# 8.0 will have a switch expression: https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#switch-expressions https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csh....
- adgasf 7y agoAs C# gradually becomes F#, I have to wonder, why not just use F#?
- runevault 7y agoYou aren't wrong, but a lot of people are only comfortable in one language/style of language (so either just say Java/C#/c++ or maybe all Algol derived languages). Growing beyond that can be scary until you've done it a couple times if you wait until later in your career to start trying things like say Lisp or Haskell.
- louthy 7y agoAh, the same old refrain [1] [1] https://github.com/louthy/language-ext/wiki/%22Why-don't-you-just-use-F%23%3F%22 https://github.com/louthy/language-ext/wiki/%22Why-don't-you...
- dfgdghdf 7y agoNice article, thanks for sharing. I'm sure there are people out there debating F# vs C# for a new project, and might not realize how many future C# features are already in F# though.