Chapter 2

Using Functional Programming Techniques

IN THIS CHAPTER

check Understanding functional programming concepts

check Using Python to perform functional programming tasks

check Performing essential functional programming tasks

check Relying on functional programming for data manipulation

This chapter isn’t about a specific programming language (even though it uses Python to present examples); it’s about a programming paradigm. A paradigm is a framework that expresses a particular set of assumptions, relies on particular ways of thinking through problems, and uses particular methodologies to solve those problems. Other paradigms you may use are imperative, procedural, object-oriented, and declarative. Consequently, this chapter is different because it focuses on the problems you need to solve. The first part of this chapter discusses how the functional programming paradigm accomplishes this problem solving, and the second part points out how functional programming differs from other paradigms you may have used.

Throughout this chapter, you consider why you’d want to use functional programming at all. ...

Get Data Science Programming All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.