functions Deep Dive into Positional and Keyword Arguments in Python One of the cool features of Python is the concept of positional and keyword arguments. In this article, we will explore these two types of arguments and then discuss the right place to use each one.
functions Y Combinator in Python It's time to take a break from practical applications of functional programming to something less practical, but very interesting to know 😎
functions Hands On: Higher Order Functions In this exercise we are going to get some hands on practice using higher order functions. We are going to have a form simulating a ticket booking UI. The user can enter the number of tickets to book and submit the form to book the tickets. Problem Statement There are three pieces of code that we will deal with in this exercise: * A Form object that accepts the number of tickets to book from the user * A book_tickets function that simulates a call to the backend with the number of tickets t
functions Understanding function composition The foundation of programming is to take smaller abstractions and make bigger abstractions out of it. In the previous articles in this series, we learned about using functions to create abstractions. Now let us look at how to join them up together using functional composition.
functions Impure functions Functions that return the same output when given the same input are called pure functions. Then what are impure functions?
functions Python Decorators You come across decorators when working in many frameworks. Here is how they work.
functions Higher Order Functions In this article we look at higher order functions, which are the bedrock of functional programming style
functions Functions as parameters In this article we take a look at functional abstractions using filter and sorted as examples.
functions First class functions Functions are "first class citizens" in python. In this article we will take a look at what that means.