-
https://github.com/dotnet/csharplang/blob/main/proposals/Typ...
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
More expressive nature of F# means you don't have that many files. C# is luckily and finally moving into that direction too. There was no reason for "one file per class" policy anyway, but it was still widely adopted historically.
Here's an example of a worst-case scenario (GUI frameworks have notoriously huge amount of code): https://github.com/fsprojects/Avalonia.FuncUI/blob/master/sr...
But realistically an average project would look closer to this instead: https://github.com/DiffSharp/DiffSharp/blob/dev/src/DiffShar...
Once you have enough files, it might be a good idea to factor out separate concerns into different projects.
-
More expressive nature of F# means you don't have that many files. C# is luckily and finally moving into that direction too. There was no reason for "one file per class" policy anyway, but it was still widely adopted historically.
Here's an example of a worst-case scenario (GUI frameworks have notoriously huge amount of code): https://github.com/fsprojects/Avalonia.FuncUI/blob/master/sr...
But realistically an average project would look closer to this instead: https://github.com/DiffSharp/DiffSharp/blob/dev/src/DiffShar...
Once you have enough files, it might be a good idea to factor out separate concerns into different projects.