thefrontside / funcadelic.js

Functional programming and category theory for everyday JavaScript development
198 stars 16 forks source link

Examples in the wild #37

Open knownasilya opened 6 years ago

knownasilya commented 6 years ago

I'm not someone who looks at this and wants to use it right away, mainly because FP doesn't seem to be a big gain for me. One thing that would help would be examples of actual problems solved with this library. Even better would be examples of a refactor from no funcadelic (or other FP lib) to using it.

cowboyd commented 6 years ago

I hear you, and I'll think if there's a way we can work specific refactors to funcadelic into this.

In absence of those, my opinion is that the biggest gain is one of convention over configuration. In essence, Typeclassed based FP is philosophically aligned with frameworks like Ember and Rails (this is what I argue in https://frontside.io/blog/2018/02/19/math-is-just-another-framework.html)

knownasilya commented 6 years ago

I read that and agree (as far as I can remember 👍) but some examples beyond 1 + 1 would really help I think. Especially combining these tools together. I think most people are for FP, but they need a push to show how that can help them in the day to day.