←back to thread

Why F#?

(batsov.com)
445 points bozhidar | 1 comments | | HN request time: 0.206s | source
Show context
GiorgioG ◴[] No.43546539[source]

As a 20+ year C# developer I’ve tried several times to learn/use F#. Despite being interested in FP, my brain is having trouble figuring out how to structure my code in F#. In C# I’d either build a service (or use the mediator pattern) for the domain and a repository for data access. With F# it’s functions all the way down and it feels unnatural (as silly as that may sound).

replies(4): >>43546782 #>>43546899 #>>43551623 #>>43556011 #
1. DeathArrow ◴[] No.43556011[source]

Have you tried using a book or a tutorial to see how things can be done using idiomatic F#?