I remember that I discussed this issue somewhere, and I am currently considering the possibility of deleting a base object that inherits every business object in the system that I am working on. It contains several properties, some database logic, and some design logic.
Is this an anti-pattern, or is the jury still not working? Would it be better to have a basic contract to inherit, which would require a certain amount of coding in each object?
EDIT : I like dsimcha and feel it reflects very well on this question, I'm still glad to hear further answers
source
share