0:00 / 0:00
#decorators#first-classfunctions
TUTORIAL / Geir Arne Hjelle / Introduction to Decorators: Power UP Your Python Code
PyCon US
34K subscribers • 26 videos on Hallway • Conference channel
- One of the most-watched uploads on PyCon US, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
- Presented by Geir Arne Hjelle
Intermediate. Assumes working knowledge.
10K views5 years ago
Programming languagesPythonFunctional programming
Geir Arne Hjelle teaches how Python decorators work and how to create your own to add capabilities to your code.
Python supports functions as first-class objects. This means that functions can be assigned to variables, and passed to and from other functions, just like any other object in Python. One powerful application of this is the decorator syntax, which makes it easy to apply one function to another at compile time. Decorators offer a simple and readable way of adding capabilities to your code. This tutorial will teach you how decorators work, and how to create your own decorators. Being comfortable with using and creating decorators, will make you a more efficient Python programmer.Why it's here
A top upload from a listed channelPyCon US is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.