One of the most misused data structures is the humble map; hashmap, dictionary, hash table, etc.
It's a great data structure for quick storage and access of key value pairs. Unfortunately, because of its ease and availability, it becomes pervasive at jobs it has no business doing. The problem grows most visible in dynamically typed languages that make the map a first class citizen (Python, Ruby, Clojure, etc.), but it can creep up in any language.
Dataclass all the things!
I love the addition of dataclass. Makes refactoring such a breeze. If you need to extract some function, boom, you already have a class that you’re using everywhere.
Me too. I like to really take my time up front when modelling, because it makes a project so much easier and enjoyable down the road.