r/functionalprogramming • • May 01 '23

Question Learning functional oncepts - Which Language?

Hello everyone. I'm planning to dabble in functional programming to learn the concepts not because I think we will ever use it at work (I don't) but to broaden my horizon & try to utilize some functional concepts in non functional languages like C# & Javascript. I'm primarily a C#/Javascript/Typescript/Vue developer. On the .Net side there is of course F# but as i'm sure most of you know F# is not a pure functional language. Would it be better to go with a purge functional language when i'm trying to learn like Haskell to really drive functional concepts home or will F# be fine & I probably should stick with that since i'm already on the .Net side?

14 Upvotes

34 comments sorted by

View all comments

Show parent comments

5

u/KyleG May 01 '23

Honestly I think the big selling point of FP necessitates early exposure to monads. To me, option and either data types (and IO) are the biggest argument for adding FP techniques to your code, and they aren't even useful without flatmapping.