|
By abstracting data operations, you can use them longer and fewer problems, avoiding constant refactoring.
If the 20 subclasses of type A objects are related to the 20 subclasses of type B, 400 types of relationships may need to be defined, and 10 large books need to be written to explain, but if the subclasses inherit the parent class, you do not need to export the subclasses The connection was described piecemeal, and perhaps the agreement was made clear with only two pages of A4 paper. |
|