Re: Mixing OO and DB

From: Robert Martin <>
Date: Wed, 5 Mar 2008 00:00:21 -0600
Message-ID: <2008030500002119336-unclebob_at_objectmentorcom>

On 2008-03-03 19:58:10 -0600, Marshall <> said:

> On Mar 3, 5:39 pm, Robert Martin <> wrote:

>> A function should be no longer than five or ten lines of code.  A
>> function should have no more than one indent level.  The body of each
>> if statement should call one function.  The body of each loop statement
>> should call one function.

> Can you back up any of these commandments with actual data?
> What *measurable* consequences result if they are not
> adhered to?

Nope. I also don't have any data to suggest that it's a good idea to clean the dishes after dinner.

Robert C. Martin (Uncle Bob)  | email:
Object Mentor Inc.            | blog:
The Agile Transition Experts  | web:
800-338-6716                  |
Received on Wed Mar 05 2008 - 07:00:21 CET

Original text of this message