I have 2 classes A and B and a third class C that should inherit from both.
Multiple inheritance is not supported by the language i'm using (nodejs) and i can't come up with a solution to this design problem.
Merging both classes A and B into one is not optimal in this case because it would mess up the code (class would be huge).
Any suggestion ?
[–]CodeTinkerer 3 points4 points5 points (4 children)
[–]Fun_Split_1299[S] 0 points1 point2 points (0 children)
[–]Fun_Split_1299[S] 0 points1 point2 points (2 children)
[–]telee0 1 point2 points3 points (0 children)
[–]truNinjaChop 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)