Chapter 2
Using Functional Programming Techniques
IN THIS CHAPTER
Understanding functional programming concepts
Using Python to perform functional programming tasks
Performing essential functional programming tasks
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access