Raymond Hettinger - Dataclasses: The code generator to end all code generators - PyCon 2018
What it is
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.
Why Hacker News recommends it
HN commenters recommend it as an approachable talk from a respected Python core developer on dataclasses.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2018, last 2021
What HN commenters said
“Dataclasses: The code generator to end all code generator”
Hettinger's PyCon talk on dataclasses as a code generator
sn9, 2018-12 · Recommendation · in “Ask HN: Best talks of 2018?”
“Raymond Hettinger's talks are great.”
Approachable Hettinger talk on dataclasses making Python better at records
kzrdude, 2021-05 · Recommendation · in “Writing Pythonic Rust”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: python, dataclasses, raymond hettinger, code generation, attrs
Also recommended by the same people
explainerWatch electricity hit a fork in the road at half a billion frames per secondAlphaPhoenix · 5 HN recommenders · 2024–2026
talkTransforming Code into Beautiful, Idiomatic PythonNext Day Video · 9 HN recommenders · 2014–2022
lectureLight Years Ahead | The 1969 Apollo Guidance ComputerTNMoC · 11 HN recommenders · 2021–2026
talkSQLite: The Database at the Edge of the Network with Dr. Richard HippMethod · 4 HN recommenders · 2017–2024
talkRepublic, Lost | Lawrence Lessig | Talks at GoogleTalks at Google · 10 HN recommenders · 2011–2017
talkHillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018PyCon 2018 · 3 HN recommenders · 2018–2023
lectureThe Coming Collapse of the Middle Class with Elizabeth WarrenUniversity of California Television (UCTV) · 10 HN recommenders · 2008–2022
explainerThe surprising pattern behind color names around the worldVox · 4 HN recommenders · 2017–2025