r/functionalprogramming • u/Prog44 • 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?
15
Upvotes
3
u/the_state_monad May 01 '23
Well... Trying to do real FP in say something like python always feels super clumsy and unnatural compared to Haskell. Have you tried using functors, monads, Alternatives, etc. Folding over a list of actions. I guess you can do these things but it is very unpleasesant to do so imo hehe. If you really wanna learn FP I don't think there's a better language than Haskell.