Re: Booch's book feels too philosophical rather than practical?
- From: Robert Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Tue, 23 Jan 2007 14:10:30 -0600
On 2007-01-21 21:59:31 -0600, "topmind" <topmind@xxxxxxxxxxxxxxxx> said:
Using the overused "shape" examples, you have two "lists": lists of
shapes and lists of operations on those shapes. If you factor out the
duplication of one list you introduce duplication of another. OO'ers
don't bother to count the repeated method list as "duplication" because
they are brainwashed to ignore such duplication.
There are indeed two lists. OO does not deny this, it takes advantage of it.
Procedural programming allows you to add new functions without changing the existing data structures. OO allows you to add new data structures without changing the existing functions. You need both capabilities.
--
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716 |
.
- Follow-Ups:
- References:
- Prev by Date: Re: Critique of Robert C. Martin's "Agile Principles, Patterns, and Practices"
- Next by Date: Re: Booch's book feels too philosophical rather than practical?
- Previous by thread: Re: Booch's book feels too philosophical rather than practical?
- Next by thread: Re: Booch's book feels too philosophical rather than practical?
- Index(es):
Relevant Pages
|