~/talk

Advanced Metaphors in Coding with Python

Talkat PyData Berlin 2017 · 2017-06-23..06-25· [career-development]
slides:none on file

Compressed, code-first walkthrough of how Python features actually get used: concrete demos of metaclass hooks including the build_class hook and how ABCMeta enforces methods, the newer init_subclass (Python 3.6) alternative, practical decorator patterns, and a worked generator-to-context-manager pattern that creates and drops a temp table. Shows send/throw for exceptions, ties generators to sequencing and laziness vs eagerness, and mentions coroutine libraries like curio and Trio — useful if needing runtime hooks or enforcing class/user constraints.

AI-written summary · about

  1. 0:00Advanced Python metaphors
  2. 2:52Metaclasses and constraints
  3. 13:27Base to derived constraints
  4. 28:52Decorators for function manipulation
  5. 43:01Generators and lazy evaluation
  6. 1:00:40Context managers
  7. 1:19:50Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.