Re: Mixing OO and DB

From: topmind <topmind_at_technologist.com>
Date: Wed, 19 Mar 2008 13:50:56 -0700 (PDT)
Message-ID: <970b0df4-7164-4b67-a121-51cef41f8279_at_i12g2000prf.googlegroups.com>


Thomas Gagne wrote:
> topmind wrote:
> >
> > Decoupling adds a layer of indirection. Indirection is not free.
> > Unless that level of indirection buys you a lot, it is often not worth
> > it because it adds to maintenance cost and red-tape code bulk. Spend
> > indirection wisely.
> >
> Or decoupling could be thought of as replacing a layer of bad design
> with a layer of better design.

If its that bad, one may be better off fixing it because the bad layer will always be the source of maintenance headaches. But of course, "it depends" on lots of things. Software design is all about weighing tradeoffs.

-T- Received on Wed Mar 19 2008 - 21:50:56 CET

Original text of this message