News for hackers. Stuff that matters.
Re:What OOP Isn't by samg_ on Friday December 10, 2010 @02:04PM (#1992729)
I find that it can be valuable in a GUI toolkit. If I want to change a small part of a UI component, I can subclass it, change what I want, keep the rest, and classes that used the old component can use the new one too, because of subtype polymorphism.

Composition can work for a lot of these problems too. It depends on the scale of the modification, I guess.

There are no comments on this comment yet.