2 ms·
OOP is an abstraction tool. When you have a problem you need to divide it into sub problems and represent each sub problem as an abstraction. The end result is
by halayli 11y ago
OOP is an abstraction tool. When you have a problem you need to divide it into sub problems and represent each sub problem as an abstraction. The end result is that the collection of abstractions should model the problem domain.
- adwn 11y ago> The end result is that the collection of abstractions should model the problem domain. Sure, but that doesn't imply that individual objects/classes should model individual abstractions 1-to-1, as would be the case for the typical Vehicle, Car, Boat example classes.
- halayli 11y agoI didn't say individual objects/classes. I specifically said "collection of abstractions".