Functional Programming inside OOP? It’s possible with Python

Getting started with functional programming in Python

Carlos Villavicencio

Abstractions Best Practice Functional Programming Python Skills Type-Hinting

See in schedule: Wed, Jul 28, 15:45-16:15 CEST (30 min) Download/View Slides

It is well known that Python 3 is an object-oriented language. But if we look back at the roots of the language, functions as first-class objects were part of the initial design. Recently, functional programming has gained considerable popularity because it is robust, concise, and easier to test. That set of benefits are not only reserved for functional pure programming languages such as Haskell.

In this talk, I will run into a series of concepts, such as shared state, pure functions, side effects, and some other functional programming lingo that will help us understand how to use some not well-known Python features influenced by functional principles. We'll see how to implement our functional patterns in the code we write every day. In the end, you will see why this paradigm is relevant right now and why most of the existing languages and libraries actually evolved and keep going in that direction.

Type: Talk (30 mins); Python level: Intermediate; Domain level: Beginner

Carlos Villavicencio

Stack Builders

I’m a software engineer at Stack Builders for more than 3 years and more than 15 in the industry. Currently, I’m working on a project as tech lead with Python and some React applications. Besides that, I collaborate with community engagement by organizing the Quito Lambda meetup and more events like last year’s Hacktoberfest.

Outside the programming world, I’m a martial artist (I practice kendo and iaido) and a photography enthusiast. I regularly post interesting photos on my Instagram @po5i