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):
- Higher Order Functions
- Partial Functions
I would conclude with an example showing how to use all these concepts in actual code.
Attendees should be familiar with Python.
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.