Python Decorators: The Complete Guide
By ArjanCodes on youtube.com
More about this content:
Python decorators are a great way to add functionality to your Python functions. In this video, I'll show you what they are, how they work, and some of the most useful decorators you can use in your code. Git repository: https://github.com/ArjanCodes/2023-decorator 👷 Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: https://www.arjancodes.com/diagnosis 🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes. 🎓 Sign up to Brilliant now and get 20% off the annual subscription: https://brilliant.sjv.io/arjancodes. 👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel! 💬 Discord: https://discord.arjan.codes 🐦Twitter: https://twitter.com/arjancodes 🌍LinkedIn: https://www.linkedin.com/company/arjancodes 🕵Facebook: https://www.facebook.com/arjancodes 📱Instagram: https://www.instagram.com/arjancodes 👀 Code reviewers: - Yoriz - Ryan Laursen - James Dooley - Dale Hagglund 🎥 Video edited by Mark Bacskai: https://www.instagram.com/bacskaimark 🔖 Chapters: 0:00 Intro 2:20 Object-Oriented decorator 9:40 Functional decorator 17:17 Functools wraps 21:20 Decorators with arguments 24:03 Should you use decorators? 26:21 Outro #arjancodes #softwaredesign #python DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!