Home How to Get Started with Functional Programming in Python

How to Get Started with Functional Programming in Python

Functional programming (FP) is one of the hottest trends in programming. From Scala to Clojure to R, the interest in this approach to programming is high. In a new series on his blog, developer Dhananjay Nene writes about FP in Python. The firsttwo parts are now available, and Nene plans to publish more.

Nene begins by explaining functional programming, and then moves into examples in Python.

Nene makes it clear that Python, as a multi-paradigm language, isn’t the best functional programming language. “But if you want to learn more of FP or use FP techniques along with other paradigms Python’s capabilities are screaming to be heard,” he writes.

In the second part, Nene covers the aspects of Python that specifically relate to FP – including the controversy over the map, filter and reduce functions.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.