recall

← recall

data clump termsmell

same group of fields appearing together in many places

Same 3-4 fields keep showing up together as parameters, attributes, return values: (street, city, state, zip), (start_date, end_date), (host, port, user, password). They're a thing — extract them into a class. The repetition is a model bug.

topics: refactoring

references: