Python Tip: First Class Objects

It is often said that everything in Python is an object. A function is no exception. A function is an object in Python and can be treated as an object and therefore can be assigned to a variable; stored in a data structure and so on. This object nature of a Python function results in referring to a function as a first class object. This video discusses the first class object nature of a Python function and offers up a schematic diagram to help understand the mechanism underlying this concept.

Support my channel on Patreon: https://www.patreon.com/user?u=3538393

Source: https://www.youtube.com/watch?v=4s7ueX659DE

Leave a Reply

Your email address will not be published. Required fields are marked *