News for hackers. Stuff that matters.
Re:What Made OO Be Successful by sbov on Sunday January 04, 2015 @10:59AM (#8834747)
What we actually need is to be able to use different heating algorithms dynamically. To achieve this we will use the strategy pattern, so you end up with:

heatingStrategy.heat(water, stove);

Re:What Made OO Be Successful by username56283 on Sunday January 04, 2015 @11:10AM (#8834783)
What methods is this heating strategy going to call on water and stove? Consider for example that the stove builds up rust. Therefore it needs to know the properties of what's inside. Is the heating strategy going to tell it that?