Re: Critique of Robert C. Martin's "Agile Principles, Patterns, and Practices"



Robert Martin wrote:
On 2007-01-13 21:08:35 -0600, "topmind" <topmind@xxxxxxxxxxxxxxxx> said:

RCM definitely appears to not be a RDBMS fan and is happier the more he
wraps it away.

It has nothing to do with fan-dom. I consider RDBMSs to be valuable
and important components of many systems. Like any component, it
should be isolated from the others. This is just good software
practice. (see Information Hiding).

Isolation creates duplication of concepts and can make it more
difficult to use the existing power and abilities of RDBMS. Most of the
code in your book is WASTED on translating back and forth between two
medium-to-high-level concepts: OO and relational. It is like spending
effort translating between Japanese and Spanish and back rather than
get anything real done.

The isolation is costing you complexity and code volume. I don't see
how you are claiming it better. You don't describe your scoring
mechanism that goes on in your head.

In case you swap DB vendors? That happens like once every 20 years, and
there are non-OO ways to do it also. Please focus on REAL problems, not
meteor insurance.

--
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 |

-T-

.