The "robot legs" problem is about injecting custom configurations of reusable components
The "robot legs" problem is about injecting custom configurations of reusable components.
The "robot legs" problem describes the following scenario: How to create a robot with a two Leg objects, the left one injected with a LeftFoot, and the right one with a RightFoot. But only one Leg class that's reused in both contexts.
For more information, see: How do I build two similar but slightly different trees of objects?