Ramdajs: pros and cons

ramdaFilled_200x235

Ramda is a JavaScript functional programming library. It exposes a set of utility functions that use functional programming jargon and are composable.

My quick take on it is:

Pros

  • Writing compact code
  • Easy to build complex functional pipelines

Cons

  • Steep learning curve
  • Complex pipelines may become hard to read if not accustomed with the functional programming jargon

All in all I’d suggest to use it if the project you are working have sections that would benefit from immutability and functional programming (ie: redux reducers). I would not recommend it if you don’t have time to get use to it or you may end up mixing functional and imperative programming.

Leave a Reply