Re: Mixing OO and DB
Date: Thu, 6 Mar 2008 00:03:52 -0800 (PST)
On Mar 5, 11:35 pm, Robert Martin <uncle..._at_objectmentor.com> wrote:
> On 2008-03-05 00:27:50 -0600, Marshall <marshall.spi..._at_gmail.com> said:
> A function should be no longer than five or ten lines of code. This is
> about as obvious and self-evident as it can be. Are you really going
> to argue that functions should be longer?
I'm going to argue that I have seen no evidence that writing methods any smaller than 150 lines produces any measurable benefits. I'm further going to argue that you haven't either. Your above assertions are baseless; they are founded on sand. They are nothing more than an aesthetic you have developed. Like all nostrums, they benefit the salesman and not the patient. It is a common human activity: make shit up and pretend it's celestial truth. It's as obvious and self-evident as hierarchies of angels.
Marshall Received on Thu Mar 06 2008 - 09:03:52 CET