3 ms·
right, the roots of the word make it applicable to lots of stuff, poly or many, morph or structure/form.
by jxramos 6y ago
right, the roots of the word make it applicable to lots of stuff, poly or many, morph or structure/form.
- adrianmonk 6y agoArguably it's the strategy pattern. Graphite and Diamond are subclasses of CrystalizationStrategy.
- iainmerrick 6y agoThings could get messy real fast if you need to inherit from both Graphite and Diamond...
- chrisweekly 6y agoFavor composition over inheritance!
- frumiousirc 6y agoYes, the diamond inheritance pattern is a classic OO problem. :D