Tag Archives: oop
Inherit or Compose?
Object-Oriented Programming has brought lot of very interesting discussions over the years. One of them is about deciding when one should use inheritance, or composition. I read a pretty nice article about it recently. Here is how the article ends: Inheritance should only be used when: Both classes are in the same logical domain The […]