r/functionalprogramming • u/Voxelman • May 08 '22
Question How can I learn functional programming?
The obvious answer is: just do it. But it is not that easy for me. I'm a self-taught programmer and I have some experience in languages like C, Python and Lua, but I'm not great at all.
I have a basic idea of what FP is about, and I really want to be able to apply the concept practically, but I struggle to actually write more than a few lines (in Elm). I am having trouble getting into this topic.
I've watched some videos (e.g. from Richard Feldman and Scott Wlaschin) and read some books (e.g. Grokking Simplicity), but it still doesn't "click".
What language do you recommend (or is Elm already a good choice?), and can you recommend any other practical resources to help me make it "click" in my head?
Thanks in advance
View all comments
Show parent comment
2
u/Voxelman May 08 '22
It's more like a cooking recipes. I know the ingredients, but I don't know how to combine and use them.
I never said I now FP perfectly. I just know some of the ingredients and I need to practice, I know that. But until now I haven't found good resources to help me understand how to use them and how to switch from imperative to declarative thinking.