Just wondering what other people think about questions like:
"Can you send me samples of your code?"
Without a job description (even a title would suffice!), I'm not sure what they're after. Are they just looking at programming style? I have worked on databases that were a complete disaster - the company didn't have a developer that even understood the significance of the Normal forms, so there was code in there that did things like creating normalized views of the unnormalized tables... Doesn't really make sense out of context, though.
How do other people respond to questions like this? If I had at least a job description to go on, or a database to write against (even if it's a "public" one available on the internet), it would be one thing, but I haven't a clue what they're even looking for. Maybe the recruiter is clueless, I don't know.
Any thoughts on how to respond to a request like that?
If it matters, I'm more a developer than a DBA type...
I've not had anyone ask me such a blanket question but, if I did, my simple response would be, "Why?".
There are a lot of reasons why people might ask such a thing and I consider it to be fairly rude to ask such a question without a reason. Up front, it shows extreme laziness and, perhaps, a bit of arrogance on their part. Ironically, I can see the same people that asked the question becoming highly offended or infuriated that I might have asked them such a question in return. Of course, that would cinch my decision as to whether to help out or not.
Hitting both ends of the spectrum, it could be someone that wants to make a good example to their team or someone that wants to include it in their own resume as a work sample of (supposedly) their own work (and, yeah... I've actually seen that during interview where I recognize someone's code from this very forum). I also understand that some folks are just in a hurry but I wouldn't let that sway me for such a question.
The bottom line is similar to what I do on the forums... I wouldn't provide any code without knowing what the actual need is and how it will be used because I don't know if I'm helping someone honorable trying to do better or a poser get a job they don't deserve.
is pronounced "ree-bar
" and is a "Modenism
" for R
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
"If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
"Change is inevitable... change for the better is not."
When you put the right degree of spin on it, the number 3|8
is also a glyph that describes the nature of a DBAs job. 😉
How to post code problems
Create a Tally Function (fnTally)