3 ms·
I agree, F# is hard to learn. It took me a few months of tinkering to be able to express myself in it. Good entry points: Don Syme - his "F# Code I Love" talk
by hoelle 7y ago
I agree, F# is hard to learn. It took me a few months of tinkering to be able to express myself in it.
Good entry points:
Don Syme - his "F# Code I Love" talk has been recorded a few times: https://www.youtube.com/watch?v=aw2BAxG3bdM https://www.youtube.com/watch?v=aw2BAxG3bdM. I recommend catching a few versions.
Scott Wlaschin - His talks are also great: https://www.youtube.com/watch?v=srQt1NAHYC0 https://www.youtube.com/watch?v=srQt1NAHYC0. He also runs https://fsharpforfunandprofit.com/ https://fsharpforfunandprofit.com/ which is a treasure trove.
And I found Isaac Abraham's book excellent and breezy to read: https://www.manning.com/books/get-programming-with-f-sharp https://www.manning.com/books/get-programming-with-f-sharp
Now that I'm over the hump, I think F# code is far more readable than other languages I'm well versed in (C++/C#). Probably my favorite thing about F# is the strict top-down dependencies. You can open a project and read it in order, and understand it without having to hop around a bunch.
And since most programs can be written in far fewer lines in F#, code written in it ends up feeling very small and economical.