Functional Programming

The devil codes in Pramda

Arnaud (Arhuman) ASSAD

Originally published in July 2016 on Hello.js, then on my previous blog.

As a Perl coder, I’m a big fan of functional programming.

If that sounds odd to you, think about all that features that are considered as idiomatic Perl:

  • List processing (map, grep)
  • High order functions (Mark Jason Dominus ;-) )
  • Lazy evaluation (iterators)
  • Lamda calculus (closure)

Functional programming is a fascinating thing but it’s not so easy to use consistently. We all love the concept, feel the inner power. We all use lists, closure, functions as parameter, but how many of us manage to fully apply functional programming everywhere and commit to pure functions and immutability?