Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Metaprogramming - From Decorators to Macros

EuroPython Conference via YouTube

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

Reviews

Start your review of Metaprogramming - From Decorators to Macros

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.