Better Ruby through Functional Programming by Dean Wampler

  • 2,956
  • Ruby
Functional Programming (FP) has become popular as the most robust way to write concurrent applications. Functional ideas improve code in other ways, like reducing coupling between “elements” and eliminating some “surprises” that occur when objects are mutable. We’ll discuss the key ideas in functional programming and the functional features that Ruby already supports. We’ll describe how best to use these features and how to work around the missing functional features.

Functional Programming (FP) has become popular as the most robust way to write concurrent applications. Functional ideas improve code in other ways, like reducing coupling between “elements” and eliminating some “surprises” that occur when objects are mutable. We’ll discuss the key ideas in functional programming and the functional features that Ruby already supports. We’ll describe how best to use these features and how to work around the missing functional features.