Re: Mixing OO and DB
Date: Thu, 06 Mar 2008 14:05:47 -0800
Robert Martin <unclebob_at_objectmentor.com> wrote:
>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 have had cases of snippets, that if I were to convert them to functions, what with all of the context that I would have to pass and handle, that the calling sequence (setup, call, wrapup) could be longer than the snippet. That way lies madness.
Computerese Irregular Verb Conjugation:
I have preferences. You have biases. He/She has prejudices.Received on Thu Mar 06 2008 - 23:05:47 CET