Subtle design: inheritance vs roles(blog.andreloker.de)
submitted by
aloker(1810) 3 years, 3 months ago
Modelling relationships between entities as an is-a relationship, ie inheritance, is often the "obvious" choice, but can be very inflexible. Using a role-player relationshop can be much more flexible and will often reflect the reality better.
|category: Architecture
|Views: 7
tags:
Architecture another
Everyones tags:
Your Tags: