Is multiple inheritance the way to go? #482
-
If i have two services that need communicate two way is it recommended/not recommended to do multiple inheritance from both proxy and adapter ? Service1 -> Adapter Service 1 + ProxyService 2 I find the alternatives of context style objects, passing references to each other, global variables quite cumbersome |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, I don't see by heart any issue with using multiple inheritance in such a way... There will be two separate subobjects within one object of yours. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
Yes, I don't see by heart any issue with using multiple inheritance in such a way... There will be two separate subobjects within one object of yours.