3 ms·
My favourite F# features: - Single-case discriminated unions. I feel so unprotected when working in C# due to IDs usually being primitive types. You're never s
by insulanian 8y ago
My favourite F# features:
- Single-case discriminated unions. I feel so unprotected when working in C# due to IDs usually being primitive types. You're never sure if you'll accidentally flip two `int` parameters in a method call.
- Automatic currying and partial application in combination with piping `|>`. Enables so intuitive and elegant code flow.
Performance characteristics are decent as well[1].
[1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/fsharp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...