[squeak-dev] RE: [Pharo-project] Are Objects really hard?

Schwab,Wilhelm K bschwab at anest.ufl.edu
Mon Feb 13 13:20:03 UTC 2012


There is no question that over-use of inheritance (failure to understand composition) is a classic beginner mistake.  That said, don't underestimate the value of inheritance.  Granted, the example I have in mind is perfect for specialization, but beyond that, failure to use (extensive) inheritance can at times lead to lots of duplicate code (which is really bad).  Say it once - inheritance can help one do just that (policy up, implementation down, etc.).

Bill



More information about the Squeak-dev mailing list