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!
in “Writing Pythonic Rust” · View on HN