When programming Rabbit Wars back in 2007, I ended up with huge objects for each of my game entities. They handled player input, AI, moving, shooting, health points and rendering. I didn’t like it, it drove me mad. But then I came across this Evolve Your Hierarchy article. Since I was still in the middle of programming, I refactored my game entity code to use components instead of multiple inheritance (just like the article described). It worked great, my code was readable again.
Suppose you are starting a business, building a product that one day, you will sell. At first, you will have $0 income. So if you pay yourself $0, nobody else can do it cheaper than you. So what do you gain by outsourcing? As it turns out, a lot! Some entrepreneur articles and books talk … Read more