Re: What databases have taught me
From: Marshall <marshall.spight_at_gmail.com>
Date: 2 Jul 2006 17:42:08 -0700
Message-ID: <1151887328.909068.267610_at_p79g2000cwp.googlegroups.com>
Date: 2 Jul 2006 17:42:08 -0700
Message-ID: <1151887328.909068.267610_at_p79g2000cwp.googlegroups.com>
Robert Martin wrote:
>
> I think you'd need this code anyway if the above query was issued from
> more than one place. I doubt you'd want to duplicate the string.
There is also the question of how little code can there be such that we still call it a coherent abstraction? My general claim is that one line of code is typically *not*a coherent abstraction. Because once we abstract it as a method, what do we need to do to invoke that method? One line of code. So we didn't gain anything. (Of course, not all lines of code are of equal complexity, so this is not a precise measure.)
Marshall Received on Mon Jul 03 2006 - 02:42:08 CEST