Evolve Your Hierarchy: Refactoring Game Entities with Components Permalink for this post A good look at using component aggregation to refactor an unwieldy hierarchy with a gigantic base class into a more flexible system. The article references game programming, but the ideas are applicable to many other environments- expecially dynamic languages that support mixins. June 27, 2011 Link OO, refactoring
A good look at using component aggregation to refactor an unwieldy hierarchy with a gigantic base class into a more flexible system.
The article references game programming, but the ideas are applicable to many other environments- expecially dynamic languages that support mixins.