Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: "code" tabl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 13 of 43 Topic 3190 of 3283
Post > Topic >>

Re: "code" tables?

by "Arved Sandstrom" <asandstrom@[EMAIL PROTECTED] > Jun 21, 2008 at 12:04 PM

"Frank Swarbrick" <Frank.Swarbrick@[EMAIL PROTECTED]
> wrote in message 
news:485BF5A5.6F0F.0085.0@[EMAIL PROTECTED]
>>>> On 6/20/2008 at 2:49 AM, in message
> <69KdnXkzOICq8sbVnZ2dnUVZ8tDinZ2d@[EMAIL PROTECTED]
>, Roy
> Hann<specially@[EMAIL PROTECTED]
> wrote:
[ SNIP ]
>> So what?  Tables aren't rationed.
>>
>> The desire to conceal complexity is not the same as the desire to
remove
>>
>> complexity.  The former is counterproductive while the latter is
>> praiseworthy.  What you describe is a a desire to conceal what is going
>> on.
>> How does that help anyone?
>
> Honestly, I don't know his reasoning.  We're going to have a discussion 
> next
> week about it, and I'm sure more than one of us will shoot it down. 
Until
> then I'm not sure what is real concern is.

The other programmer's reasoning is presumably exactly what he said in his

email (the snippet that you included), the concern that there will be an 
explosion in the number of tables. That he's not aware of the pitfalls of 
his suggested approach is no great surprise...back in the day I surely 
designed tables like this also, I'm sure all of us have.

The burden may be on you to show why the OTLT is not a good thing. Joe's 
article will help, also this 
(http://tonyandrews.blogspot.com/2004/10/otlt-and-eav-two-big-design-mistakes.html),

and also this (http://www.projectdmx.com/dbdesign/lookup.aspx)
Just be 
prepared to do the heavy lifting. :-) A *lot* of programmers are not 
particularly database savvy, although most of us like to think we are, and

this can include senior developers and architects. You may find, for 
example, that your boss (and the other programmer's boss too) likes the
OTLT 
idea...best thing to do may be to weigh in on the proposal before the most

senior person (or any persons more senior than you) can open their mouths,

which gives them a chance to nod sagely and offer their own condemnations.

>> Maybe the implicit concern is not the number of tables in the database
>> but
>> the amount of code required to maintain them.  That's a programming
>> problem.
>
> Hmm, I don't think that's it.  Why would it be any more work?  If
anything
> it's more work for the DBA, because he has to define the new table!
>
>> Get the programmors off their ***** and tell them to learn how to write
>> dynamic SQL.
>
> Hmm, better watch it here.  :-)  Both he and I are programmers.

See above. My comments apply to also not pissing off your colleague. Since

he has staked some of his credibility to this flawed design, depending on 
whether or not he's otherwise a decent programmer and a decent guy, you 
might be doing him a favour by writing him an email, attaching references
to 
OT:LT/MUCK articles, that apprises him of the downsides. That way he can 
educate himself before the discussion/meeting, maybe retract the
suggestion 
beforehand, and otherwise not look like a clueless idiot. If he has any 
decency he'll even credit you. As it is, best case, he'll still lose some 
face.

My apologies if this is teaching my grandmother how to suck eggs. I'm not 
far off the mid-century mark myself, and have little patience for 
point-scoring these days. I see this scenario as an excellent op****tunity 
for having a productive discussion about good database design (and I 
guarantee you that maybe over half of the other coders involved will get 
educated), rather than having a slanging-match. Approached the wrong way 
this particular situation could turn into a furrball.

Don't get me wrong - I don't believe in letting people off easily if they 
need an abject lesson. For example, if I saw a senior programmer 
perpetrating atrocities with threads or class design I'd think it time
that 
they were brought to task for not knowing basics. I've had my ass hauled 
over the coals a few times too. But for something like this, where (let's 
face it) many (if not most) general-purpose programmers, even senior ones,

aren't necessarily that good at database design, it might be better to
craft 
a lesson out of it rather than have an Inquisition...

[ SNIP ]

AHS
 




 43 Posts in Topic:
"code" tables?
"Frank Swarbrick&quo  2008-06-18 18:16:04 
Re: "code" tables?
Marco Mariani <marco@[  2008-06-19 10:57:06 
Re: "code" tables?
--CELKO-- <jcelko212@[  2008-06-19 10:31:51 
Re: "code" tables?
--CELKO-- <jcelko212@[  2008-06-19 15:45:01 
Re: "code" tables?
--CELKO-- <jcelko212@[  2008-06-20 21:26:24 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-19 13:51:44 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-19 13:53:18 
Re: "code" tables?
"Roy Hann" <  2008-06-20 09:49:59 
Re: "code" tables?
Ed Prochak <edprochak@  2008-06-24 04:39:56 
Re: "code" tables?
Ed Prochak <edprochak@  2008-06-24 07:06:10 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-20 18:20:37 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-20 18:23:33 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-21 12:04:00 
Re: "code" tables?
"David Cressey"  2008-06-23 14:15:22 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-23 20:04:00 
Re: "code" tables?
Gene Wirchenko <genew@  2008-06-23 18:18:26 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-24 03:42:56 
Re: "code" tables?
"David Cressey"  2008-06-24 11:20:16 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-24 12:58:37 
Re: "code" tables?
"David Cressey"  2008-06-24 14:01:23 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-25 05:13:26 
Re: "code" tables?
"David Cressey"  2008-06-25 14:47:13 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-26 12:08:21 
Re: "code" tables?
"Roy Hann" <  2008-06-26 13:53:32 
Re: "code" tables?
Gene Wirchenko <genew@  2008-06-26 09:52:50 
Re: "code" tables?
"David Cressey"  2008-06-26 17:31:31 
Re: "code" tables?
Marco Mariani <marco@[  2008-06-27 10:31:30 
Re: "code" tables?
"Arved Sandstrom&quo  2008-06-28 10:19:00 
Re: "code" tables?
"David Cressey"  2008-06-26 13:11:03 
Re: "code" tables?
"David Cressey"  2008-06-24 11:05:30 
Re: "code" tables?
"David Cressey"  2008-06-23 14:13:58 
Re: "code" tables?
"Roy Hann" <  2008-06-23 16:23:46 
Re: "code" tables?
"David Cressey"  2008-06-24 11:41:44 
Re: "code" tables?
"Roy Hann" <  2008-06-24 14:47:39 
Re: "code" tables?
"David Cressey"  2008-06-24 14:26:09 
Re: "code" tables?
"Roy Hann" <  2008-06-24 16:05:05 
Re: "code" tables?
"David Cressey"  2008-06-24 18:09:27 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-23 10:16:23 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-23 15:47:12 
Re: "code" tables?
"Roy Hann" <  2008-06-24 01:15:59 
Re: "code" tables?
"David Cressey"  2008-06-24 12:36:50 
Re: "code" tables?
"Frank Swarbrick&quo  2008-06-24 13:56:05 
Re: "code" tables?
"Roy Hann" <  2008-06-24 21:13:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:28:26 CST 2008.