Re:How to Design Programs 2nd Edition
by GiorgioG on Tuesday May 02, 2023 @05:51AM
(#35785276)
Over time all abstractions become “wrong” as requirements change.
[ Parent
| on HN ]
This is why refactoring is a thing.
Perhaps someone should write a book for managers that explains these two things.
Re:How to Design Programs 2nd Edition
by mumblemumble on Tuesday May 02, 2023 @08:44AM
(#35786557)
You shouldn't be baking business logic into your abstractions like that.
Or, perhaps this is a better way of putting it: if there's business logic mixed into it, it's not an abstraction, it's a concretion.