Adrian personal blog

Namedtuple in a Post-Dataclasses World

namedtuple has been around since forever, and over time, its convenience saw it used far outside its originally intended purpose. With dataclasses now covering part of those use cases, what should one use named tuples for? In this article, I address this question, and give a few examples from real code.
Points
113
HN comments
88
Submissions
1
Cited by
0 commenters

Programming LanguagesSoftware Engineering2021

On Hacker News

SubmittedTitle on HNPointsComments
Jul 21, 2021Namedtuple in a Post-Dataclasses World by genericlemon2411388

More from Adrian

All 5 posts →

Related posts from the same era