Why functional programming from a developer productivity perspective

Click for: original source

Xiaoyun Yangn take on why we should consider (or not) functional programming. We build complex programs with many moving parts. Programs are expected to be reliable, responsive, and error resistant.

Functional programming promotes better code reusability and modularity, which is made possible by treating functions as composable primitives and something that describes behavior in the abstract (i.e., without binding it to actual use cases or data).

Author covers the topic in length, including:

  • Why functional programming now?
  • Functional programming design patterns, incl:
    • Loop pattern
    • Types
    • Monads
    • Monoid

The most visible benefits of functional programming are developer productivity, program correctness, scalability. Good read!

[Read More]

Tags programming functional-programming