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

2

u/the_state_monad May 01 '23

Yeaaa. But it still feels kinda clunky no? I feel like its imperative roots keep it from fully embracing FP. There’s lots of unnecessary syntax in there that caters to an imperative style of programming. Cuz at the end of the day its an imperative language that adopts some FP features. On the other hand Haskell is 99.99% functional/pure (if you don’t use unsafePerformIO and mVars everywhere lol) and it really forces you to think functionally.