3 ms·
The most impressive feature of F# clearly is its tight integration to dotnet/C#. It’s super easy to mix C# and F# code in the same project and it works out of
by pjerem 6y ago
The most impressive feature of F# clearly is its tight integration to dotnet/C#.
It’s super easy to mix C# and F# code in the same project and it works out of the box.
This allows you, if you want it, to write your domain code in F# and your technical code in C#.
- LandR 6y agoDo you mean same solution? I didn't think you can mix languages over the same project in C# / F#
- pjerem 6y agoYes, same solution, my bad.
- pjmlp 6y agoOnly on regular .NET, the UWP story is a bit different.
- tigershark 6y agoThere are a lot of places where interop sucks. Other than the ones already mentioned by someone else in a previous comment there are the events that need a lot of ceremony in F# to be compatible with C#, lack of implicit conversion that in some cases renders some C# libraries unusable unless you define some explicit conversion operator and probably some other stuff that now I don’t remember. If you can work only in F# it’s a much better experience compared to mixing C# and F#.