Functional Programming in Python

Shagun Sodhani (~shagunsodhani)




Functional Programming is a programming paradigm that treats functions as the first class citizens and as the fundamental building blocks for any program. This results in a workflow where the programmer focuses on describing what is to be done and not on how it is to be done. Functional programming encourages concise code and safe programming (less OffByOne mistakes). Stateless functions and immutable data structures helps to write concurrent code.

In the talk, I would cover the brief overview to Functional Programming and to what extent does Python (more specifically Python3) support these concepts. This would include the following constructs (with examples):

  • lambda
  • map
  • filter
  • reduce
  • Higher Order Functions
  • Partial Functions
  • Currying

I would conclude with an example showing how to use all these concepts in actual code.


Attendees should be familiar with Python.

Speaker Info:

I am a developer working with the Analytics and Data Science team at Adobe Systems where I contribute to solving novel problems in the domain of Machine Learning. I recently won the Outstanding Young Engineers Award as well. I have been actively using Python for the past 4 years. I have previously given talks at PyCon India and Big Data Training Program, IIT Roorkee. I also worked as a teaching assistant for the 3-course series on Data Science and Engineering with Spark XSeries, created by professors from University of California, Berkeley, University of California, Los Angeles and Databricks and offered on the edX platform.

Section: Python 3k
Type: Talks
Target Audience: Intermediate
Last Updated:

While the ability to pass in functions as arguments isn't interesting to Python, it is an ongoing improvement in programming dialects. Capacities that take into consideration this sort of conduct are called top of the line capacities. Any dialect that contains top of the line capacities can be written in a functional style. coursework uk |


Login to add a new comment.