Raymond Hettinger - Dataclasses: The code generator to end all code generators - PyCon 2018
PyCon 20182 HN recommenders · recommended in 2 months, 2018-2021
130K views · 8 years ago · talk · evergreen
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.
HN commenters recommend it as an approachable talk from a respected Python core developer on dataclasses.
48:51Transforming Code into Beautiful, Idiomatic Python
Next Day Video
1.1M views • 13 years ago
40:01Keynote - Preventing, Finding, and Fixing Bugs On a Time Budget | Raymond Hettinger @ PyBay2018
SF Python
27K views • 8 years ago
1:10:00The Mental Game of Python - Raymond Hettinger [synced version]
Tech Ma
24K views • 6 years ago
1:07:41Modern Dictionaries by Raymond Hettinger
SF Python
150K views • 9 years ago
1:10:00The Mental Game of Python - Raymond Hettinger
SF Python
131K views • 7 years ago
1:13:53Raymond Hettinger, Keynote on Concurrency, PyBay 2017
SF Python
161K views • 9 years ago
1:54:11James Powell: So you want to be a Python expert? | PyData Seattle 2017
PyData
508K views • 9 years ago
27:29Stop Writing Classes
Next Day Video
962K views • 14 years ago
40:45Jake Vanderplas - Statistics for Hackers - PyCon 2016.mp4
PyCon 2016
93K views • 10 years ago
42:44Armin Ronacher - A Python for Future Generations
EuroPython Conference
6K views • 9 years ago
1:01:45A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter)
David Beazley
26K views • 7 years ago
44:03Google Developers Day US - Python Design Patterns
GoogleDeveloperDay
90K views • 19 years ago
29:21Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018
PyCon 2018
38K views • 8 years ago
3:26:34David Beazley - Lambda Calculus from the Ground Up - PyCon 2019
PyCon 2019
52K views • 7 years ago
30:52What nobody tells you about documentation
PyCon AU
105K views • 9 years ago
51:37Google Python Class Day 1 Part 1
Google for Developers
3.7M views • 16 years ago
32:17Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018
PyCon 2018
30K views • 8 years ago
40:57"Hedy: A Gradual programming language" by Felienne Hermans (Strange Loop 2022)
Strange Loop Conference
17K views • 4 years ago
57:05Keynote: Begin...End?
David Beazley
9K views • 5 years ago
1:01:37Compiling and Optimizing Scripting Languages
Google TechTalks
21K views • 17 years ago
4 comments from Hacker News
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 ▶ this 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!
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: ▶ this video * Automating Code Quality: link There are probably more I might add later as I remember them.
The standard library is not going to have more advanced features than what the community can do, if only because of the release cycle. Meanwhile, I was not a user of attrs before, rather I used collections.namedtuple and then typing.NamedTuple. So, data classes is a win for me and other people like me who weren't using attrs. And you can continue to use attrs without being bothered at all. In Raymond Hettinger's talk [0] at PyCon 2018, he even says that more features from attrs will likely get added, such as data validation [1]. And that his talk was the one chance for the developer (Eric Smith) to get praise, because everyone is going to instantly second guess every decision he made. [0] ▶ this video [1] see 42:36 on future directions
I haven't watched it yet but I saw that Raymond Hettinger presented on data classes at PyCon last week [0]. [0]: ▶ this video