~/talk

Classy Abstractions (Keynote)

Talkat Python Web Conf 2020 · 2020-06-17..06-19· [python]
slides:none on file

Argues that concrete high-level abstractions yield fewer bugs and easier debugging, showing real tools and outcomes: use pathlib (stdlib since 3.4) and ipaddress (stdlib since 3.3) to avoid fragile strings, use yarl (from aiohttp) instead of urlparse (1994-era API) for safe immutable URL objects, prefer attrs (led to PEP 557) or dataclasses (Python 3.7) to eliminate boilerplate, enforce mutually exclusive options with enums, and model workflows as finite state machines so code becomes testable and less error-prone.

AI-written summary · about

  1. 0:00Pythonic code frustration
  2. 1:51High-level abstractions benefits
  3. 2:34Files and paths abstraction
  4. 3:59IP addresses and URLs
  5. 7:13Mutually exclusive arguments
  6. 8:20Enums for function args
  7. 9:27Web API responses
  8. 11:16Typed validation and errors
  9. 13:05State machines and control flow
  10. 15:54Python’s strained relationship with classes
  11. 19:30Data classes and attrs history
  12. 21:39Removing friction in code
  13. 23:05Python 3.7 dataclasses
  14. 25:54Embrace abstractions summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.