3 ms·
> this specific pattern made the opportunity cost of domain-specific operations very low, Yes, I did miss the "added value" operations declared on that list cl
by SideburnsOfDoom 5y ago
> this specific pattern made the opportunity cost of domain-specific operations very low,
Yes, I did miss the "added value" operations declared on that list class, e.g. AddressList typically contained a "GetCustomerPrimaryAddress", etc.
But there were ways to bring that back, by subclassing or (later) extension method on that list. Indeed, 95% of the code was tedious forwarding to the non-generic non-typesafe "list of objects".
Around the same time the dominant pattern of saving or loading data to a data store moved from "active record" where these methods were common, to "repository and DTO" where they were not. Might be co-incidence.