The faster you unlearn OOP, the better for you and your software 8 years ago
In the context of creating a formal model for decision-making, yes table-oriented design can be a superior choice.
HN user
In the context of creating a formal model for decision-making, yes table-oriented design can be a superior choice.
It isn’t uncommon, nor is it bad design to define value classes that represent simple actions. This enables the action/command/event value to be reified, serialized, transmitted over the wire, deserialized, and potentially processed remotely, asynchronously, or by multiple arbitrary consumers.
You seem to be translating a modeling failure into an indictment of the whole object modeling paradigm. Your car model doesn’t account for multi-color liveries? Revise and refactor the model. Adapting to change isn’t the same as falling apart.