Re:What's new in the .NET 11 runtime
by CharlieDigital on Tuesday November 10, 2026 @02:04PM
(#50444699)
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.
[ Parent
| on HN ]
One of my favorite things about F# is what some would consider a deficiency: that within a project, files must be ordered and you may only refer to a symbol defined earlier, with the sole exception of types which are explicitly declared together in a single statement (`type X = ... and Y = ...`).
This in contrast to C# where, within one .csproj, there is no "order" and all classes and methods are able to mutually reference one another.
The F# way creates an annoying housekeeping step of maintaining file order, and would be a nightmare to do with manually edited .fsproj files (I have only ever written F# with an IDE), but IMO, it is worth it. On the reading side, it makes it easier to understand how a project you've never read before is structured, since you know the order of the F# source files also must be the bottom-to-top layering of the code. On the writing side, it sometimes causes one to rethink the architecture and simplify it to minimize the number of mutual declarations.
The advantage of F# over C# is defaults and baggage. The FP story in F# is great. In C# it’s possible.
Re:What's new in the .NET 11 runtime
by CharlieDigital on Wednesday November 11, 2026 @10:57AM
(#50454907)
That's a good way to put it. C# can be made closer to F#, but it has to be done so explicitly.