4 ms·
Since getting into F# as a hobbyist, it's put me off doing C# professionally. Makes doing C# for typical business dev seem like walking through treacle. There
by lmc 5y ago
Since getting into F# as a hobbyist, it's put me off doing C# professionally. Makes doing C# for typical business dev seem like walking through treacle.
There can be a lot to learn, which is a mix of functional programming stuff (recursion-first, immutability, and getting used to type definitions and function signatures), and F#-specifics like computation expressions, active patterns and quotations.
There will be many better examples than mine, but here's some more F# cellular automata stuff from last year's Advent of Code (spoiler alert):
https://github.com/lukesdm/aoc-2020/blob/main/FSharp/Day24.fs https://github.com/lukesdm/aoc-2020/blob/main/FSharp/Day24.f...
- arwhatever 5y agoWhen writing C# after learning F#, I’m constantly thinking to myself that I could make this or that data relationship explicit and verified by the compiler if this were F#, but it’s C# so instead I have to leave the relationship implicit and hope that future maintainers are able to piece the relationship together.