Bitperi(Periklis Gkolias)

Productivity tips and coding for thriving people

A Primer on Python Partial Functions

Partial functions are one of the most “terrifying concepts” I hear people talking about. Personally, I think the idea is fairly easy to grasp. That is, I will try to explain in a few paragraphs with python and help you escape the math labyrinth of “official documentation”. What is a partial function Partial functions are a computer science concept where we can derive a function with x parameters to a function with fewer parameters and constant values set for the more limited function. Continue reading