Rezha Julio

The Hard Coded Chemist

Functional Particularities of Python

2018-07-19
This time we’ll explore some of the paradigms of functional programming as applied to Python, specifically. One of the most common constructs to employ in a functional-style Python program is a Generator. Generators are a special class of functions that make writing iterators [1] more easy. When we call a function, a new space in memory is allocated to hold all of the variables that function is concerned with, as well as other data. Continue reading