Metaprogramming - From Decorators to Macros
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore the world of metaprogramming in Python through this comprehensive EuroPython 2014 conference talk. Begin with an introduction to metaprogramming concepts before delving into Python-specific techniques such as function and class decorators. Progress to advanced topics like metaclasses, demonstrating their power by implementing a simple Django-like model. Conclude with an exploration of macros, comparing their use in Lisp to Python implementations using the macropy library. Gain insights into when to use each metaprogramming technique and how they can enhance code flexibility and expressiveness.
Syllabus
Intro
We are hiring
Todays topics
Metaprogramming definition
Lisp pass
Macros
Macros vs decorators
Meta programming
decorators
metaclasses
jungle framework
field type
field implementation
solution
super
whispering
macropi
Taught by
EuroPython Conference
Related Courses
Advanced Foundations of Python ProgrammingUdemy Core Python: Metaclasses and Allocation
Pluralsight Expert Python Tutorials
Tech with Tim via YouTube Expert Python Tutorial - Metaclasses & How Classes Really Work
Tech with Tim via YouTube Why You Always Had Trouble Understanding Metaclasses
EuroPython Conference via YouTube