Re: Question regarding OOP and database access



leodippolito wrote:

> What are the best practices to avoid these problems?

Identify any kind of duplication in your program, even the duplication
notion "build an SQL string that...", and merge the duplication into
abstractions.

http://www.c2.com/cgi/wiki?PerniciousIngrownSql

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand


.



Relevant Pages

  • Re: Removing webparts from Gallery
    ... Both your posts in this thread were made to both this newsgroup and the .portalserver newsgroup. ... Please avoid this kind of duplication by deciding whether you have installed the WSS 2.0 product or the WSS 3.0 product ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Extracting patterned filenames from [glob] without a loop - possible?
    ... a copy of the original string will still be in the ... > this will cause duplication of the pathname, but will avoid ... > the duplication of the whole list. ... reference pointers in TCL. ...
    (comp.lang.tcl)
  • Re: Project proposal -- Forth project organiser
    ... They'll try to avoid ... duplication of effort, and they want most of the developers to do their ... assignments and not explore the whole project trying to understand ...
    (comp.lang.forth)
  • Re: OO-Inquisition
    ... This is a situation I very mindfully avoid when writing new code. ... If I suspect any of my subclasses will ever differ from each other ... classes with common function implementations. ... require some code duplication to implement common methods of a base ...
    (comp.object)
  • Re: Simple header cleanups
    ... Last I heard, a lot of people wanted to avoid that duplication, and ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)

Loading