HackerTube.dev

Raymond Hettinger - Dataclasses: The code generator to end all code generators - PyCon 2018

PyCon 2018 · 129.6K views · 2018-05-13 · 45:08

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Raymond Hettinger explains Python's dataclasses module, showing the problem it solves and its key design decisions. He places it in a progression from tuples and dicts through named tuples and attrs.

On Hacker News

HN commenters recommend it as an approachable talk from a respected Python core developer on dataclasses.

Recommended by 2 HN people across 2 months · HN mentions 2018–2021

Topics

Search by tags

What people said

kzrdude · 2021-05 · Recommendation

Raymond Hettinger's talks are great. I know it's not a succint blog post, but they are out there are watching a video is very approachable. Maybe [VIDEO] (Dataclasses! We could cheekily say Python gets better at something Rust does - dataclasses makes Python better at records.) And [LINK] This talk (2013): [LINK] Unfortunately this video is now a bit out of touch with modern Python. Another (2013) classic: [LINK] it is very well known, and it has the very memorable advice: what's a class that only has one method? That should be a function!

Read the original HN comment ↗
sn9 · 2018-12 · Recommendation

Some of my favorite talks from Strange Loop: * Contracts For Getting More Programs Less Wrong: [LINK] * "It's Just Matrix Multiplication": Notation for Weaving: [LINK] * Hackett: a metaprogrammable Haskell: [LINK] * Git from the Ground Up: [LINK] From PyCon: * Beyond Unit Tests: Taking Your Testing to the Next Level: [LINK] * Dataclasses: The code generator to end all code generator: [VIDEO] * Automating Code Quality: [LINK] There are probably more I might add later as I remember them.

Read the original HN comment ↗
lunchladydoris · 2018-05 · Reference

I haven't watched it yet but I saw that Raymond Hettinger presented on data classes at PyCon last week [0]. [0]: [VIDEO]

Read the original HN comment ↗

Sources

Video by PyCon 2018, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources