Wednesday, August 19, 2009

Fight the stupid

KODARS!

Developer, "So, I want to store a bit string for a user. This bit string will define what web forms the user has access to. How do we store that in the database?"

DBA, "We won't be storing it that way. If you want to define relationships between a table of users and a table of web forms with permissions and dates and levels and whatever, that would be great. We will not be storing a bit string."

Developer, "But, it's easier for me to do it that way!"

DBA, "Ok, how about this. If you store a bit string I get to create a job that runs every other tuesday changing the 3rd bit of your string to the letter Q and deleting everything after the 9th bit. How does that work for you?"

Developer, "Well no, that would be bad"

DBA, "Yes, so is your idea. "

Yeah, this really happened.

I think I'll take a nap now.


--matt
Fight the stupid

1 comment: