r/functionalprogramming • • Oct 16 '18

Question Path to learn functional programming

Background - After my internship, my supervisor told me that I needed to work on my program design and learning functional programming would be a step in the proper direction as it would force me to think in a particular way.

Steps taken - He suggested learning scala, but since it is not strictly functional I was not really "forced" to program in a functional style.

Programming Language Experience - Java, Python, Scala

Most functional programming language tutorials/books out there focus on the language and not "functional programming" (The language is always the easy part - It does not take that much time to pick it up).

I would love any suggestions on how to go about learning functional programming. Thanks.

36 Upvotes

24 comments sorted by

View all comments

4

u/yokode_kyusu Oct 17 '18

While I second the https://github.com/MostlyAdequate/mostly-adequate-guide and http://haskellbook.com/ suggestions, I've also enjoyed the https://www.manning.com/books/real-world-functional-programming book. The approach taken by the authors is to present a problem and then compare a solution in F# to a solution in C# which, I think, is quite helpful if one is familiar with an object-oriented language like C# and wants to see how one would tackle a familiar problem in a functional language like F#. In contrast to the two books mentioned above, it is also not mentioning any category theory (which, depending on your view, can be a good or bad thing).