189: attrs and dataclasses
In Python, before dataclasses, we had attrs. Before attrs, it wasn't pretty.
In Python, before dataclasses, we had attrs. Before attrs, it wasn't pretty.
The story of attrs and dataclasses is actually intertwined. They've built on each other. And in the middle of it all, Hynek.
Hynek joins the show today to discuss some history of attrs and dataclasses, and some differences.
If you ever need to create a custom class in Python, you should listen to this episode.
Listen here: testandcode.com/189
EPISODE LINKS
cattrs: Complex custom class converters for attrs. — python-attrs
Cheers,
Brian