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 first two 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.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.