Hacker News new | ask | show | jobs
by arvinsim 3027 days ago
Whhy is the salary for F# developers high?
4 comments

I assume that F# developers bring better business outcomes.

I am both a C# and F# developer, and in my experience functional code (F#, OCaml etc) tends to be 5 times less buggy than an imperative equivalent. F# compiler does an impressive job of catching errors at compile time: this is the primary reason for better outcomes. The second significant contributing factor: functional code tends to have less side effects, and thus developers can reason about such code more realistically.

A third contributing factor is lazy computations. Which leads to (surprise, surprise) better overall performance at runtime.

Less bugs + Better performance = Higher salary

Though I don't say F# is perfect. It has its quirks and there is a lot of room for future improvements.

I'm led to believe F# is popular amongst the quants, quants work for the monied.
Agree so before jumping into learning F# keep in mind it does not go that way "Know F#" -> "high paid job". It is more probable that those guys were already in place where F# was useful so they started using it as best tool for the job. So they were already highly paid.
There aren't that many of them. Companies using F# pay a premium.
On that note: Anyone know of any good F# learning resources (preferably books/text) for an experienced C# developer who has only done a little bit of functional programming (Haskell, Clojure) here and there?
Get Programming with F# is finally done, and looks pretty good

https://www.manning.com/books/get-programming-with-f-sharp

Real-World Functional Programming With examples in F# and C# is another good one

https://www.manning.com/books/real-world-functional-programm...

The NoStarch Book of F# is a pretty decent beginner's book

https://nostarch.com/fsharp

Would second the vote for F# Deep Dives as well.

"F# Deep Dives" is very practical and should work for beginners: https://www.amazon.com/gp/product/1617291323
I believe it has seen some significant adoption in finance.