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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 21, 2021 | Namedtuple in a Post-Dataclasses World by genericlemon24 | 113 | 88 |