Re: Mixing OO and DB
Date: Wed, 5 Mar 2008 00:00:21 -0600
On 2008-03-03 19:58:10 -0600, Marshall <marshall.spight_at_gmail.com> said:
>> 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