Wednesday, November 28, 2018

Functional Python Programming - By "Steven Lott"

File Size: 2.03 mb

Most of us have been introduced to Python as an object-oriented language; a language exclusively using classes to build our programs. While classes, and objects, are easy to start working with, there are other ways to write your Python code. Languages like Java can make it hard to move away from object-oriented thinking, but Python makes it easy.
Given that Python facilitates different approaches to writing code, a logical follow-up question is: what is a different way to write code? While there are several answers to this question, the most common alternative style of writing code is called functional programming. Functional programming gets its name from writing functions which provides the main source of logic in a program.
In this post, we will:
  • Explain the basics of functional programming by comparing it to object-oriented programming.
  • Cover why you might want to incorporate functional programming in your own code.
  • Show you how Python allows you to switch between the two.
Chapter 1: Introducing Functional Programming
Chapter 2: Introducing Some Functional Features
Chapter 3: Functions, Iterators, and Generators
Chapter 4: Working with Collections
Chapter 5: Higher-order Functions
Chapter 6: Recursions and Reductions
Chapter 7: Additional Tuple Techniques
Chapter 8: The Itertools Module
Chapter 9: More Itertools Techniques
Chapter 10: The Functools Module
Chapter 11: Decorator Design Techniques
Chapter 12: The Multiprocessing and Threading Modules
Chapter 13: Conditional Expressions and the Operator Module
Chapter 14: The PyMonad Library
Chapter 15: A Functional Approach to Web Services
Chapter 16: Optimizations and Improvements

Author Details
"Steven Lott" has been programming since the 1970s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for over 10 years.

Download Drive-1

No comments:

Post a Comment