4 ms·
But the ingredients can't just mix because those classes don't know about each other! They are good self contained classes. We need to employ the "mix ingredien
by joelangeway 15y ago
But the ingredients can't just mix because those classes don't know about each other! They are good self contained classes. We need to employ the "mix ingredients" pattern. Why is the cake cooker tied up with the representation of atmospheric conditions and why is it determining the policy of the oven class? Is bake a method of the cook or the oven? And woe to the programmer who does not have the patience for the BatterRiseModelFactoryFactory documentation, for she must catch every possible exception to prove the compiler that she is humble, though she is forbidden from continuing executing in such an event, for only with a stack can execution proceed and only by unwinding a stack can an exception be caught!
Thank you for giving me something rant about. I like your take on the analogy quite a bit, though I think your take on OO casts it in too good a like by instead describing simple structured programming.