An introduction to functional programming
Many functional programming articles teach abstract functional techniques. That is, composition, pipelining, higher order functions. This one is different. It shows examples of imperative, unfunctional code that people write every day and translates these examples to a functional style.
Many functional programming articles teach abstract functional techniques. That is, composition, pipelining, higher order functions. This one is different. It shows examples of imperative, unfunctional code that people write every day and translates these examples to a functional style. The first section of the article takes short, data transforming loops and translates them into functional maps and reduces. The second section takes longer loops, breaks them up into units and makes each unit functional. The third section takes a loop that is a long series of successive data transformations and
Explore this link on the map →saved by
related reading
- A practical introduction to functional programmingmaryrosecook.com
- What’s so great about functional programming anyway?jrsinclair.com
- From Imperative to Functional: how to make the leap.loup-vaillant.fr
- Reading 13: Map, Filter, Reduceweb.mit.edu
- Functional Programming HOWTO — Python 3.14.6 documentationdocs.python.org
- Reading 16: Map, Filter, Reduceweb.mit.edu
- CSC 151 - Higher-order design, recursive and othereikmeier.sites.grinnell.edu
- how I think when I think about programming - alice mazalicemaz.com
- combinators in Rubymooreniemi.github.io
- Google Testing Blog: Simplify Your Code: Functional Core, Imperative Shelltesting.googleblog.com
- 9 Placement 4cs.brown.edu
- CSC 151 - The "big three" list operationseikmeier.sites.grinnell.edu