Re: Mixing OO and DB
From: Robert Martin <unclebob_at_objectmentor.com>
Date: Wed, 5 Mar 2008 00:00:21 -0600
Message-ID: <2008030500002119336-unclebob_at_objectmentorcom>
Date: Wed, 5 Mar 2008 00:00:21 -0600
Message-ID: <2008030500002119336-unclebob_at_objectmentorcom>
On 2008-03-03 19:58:10 -0600, Marshall <marshall.spight_at_gmail.com> said:
> On Mar 3, 5:39 pm, Robert Martin <uncle..._at_objectmentor.com> 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: unclebob_at_objectmentor.com Object Mentor Inc. | blog: www.butunclebob.com The Agile Transition Experts | web: www.objectmentor.com 800-338-6716 |Received on Wed Mar 05 2008 - 07:00:21 CET