logoalt Hacker News

YuechenLi • yesterday at 6:50 PM • 2 replies • view on HN

AIs write pretty good F#, but there simply isn't very much of a reason to use F# over C# since Microsoft basically uses F# as an experimental test bed to test .NET features before bringing them into C#. Plus, annoyingly, F# doesn't interop well with existing C# projects which there is even less of a reason for existing .NET shops to adopt F#.


Replies

humlex • today at 10:43 AM

That might be true. But I still think code and ideas are more clearly expressed in a higher level language like F# still. Even though C# has adopted a lot of features from F# over the years, F# is still a lot cleaner to read and write with its excellent type inference and super minimalist syntax.

CharlieDigital • yesterday at 7:04 PM

I also agree with this. When we were internally finalizing on C#/F#, I showed the CTO that most of what he liked about F# was already possible in C# (though requiring third party libs like OneOf or Dunet) with the benefit that C# syntax is more familiar for most folks. With 15, I think they are even closer now.

➕ show 2 replies