Comment on "
What Do People Find Challenging About Cocoa?
"
by Joshua Pennington — May 16
@Jerry - It's an example of object composition vs. inheritance. Subclassing requires in many situations a more intimate knowledge of a class's implementation. Therefore, it can break encapsulation.
Back to "
What Do People Find Challenging About Cocoa?
"
Copyright © Scott Stevenson 2004-2015
by Joshua Pennington — May 16