| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: What databases have taught me
Robert Martin wrote:
>
It depends. If we imagine the same query existing in two places in the code, and imagine what could make us want to change it in the future, do we imagine that we'd necessarily change *both* together or might we just want to change one?
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 Sun Jul 02 2006 - 19:42:08 CDT
![]() |
![]() |