Virgil said:
The "coding tests" question intrigues me. Since I haven't interviewed for a
job in over 15 years, I'm curious to know what kind of coding test typically
would be used for a Java position. Are the interviewers interested in your
ability to write good code in a timely fashion using the tools of your
choice (or similar), or are they interested in whether you've memorized
every class and every method signature in the standard libraries and can
crank out code in Notepad?
What kinds of experiences have readers encountered?
I can't recall ever taking or administering a coding
test as such. I've been asked for samples of code I'd
already written, I've been asked coding-related questions
like "What's a coroutine?", and once very long ago I was
given a "programming aptitude test." But I've never been
asked to sit down and code something, nor have I asked any
interviewee to do so when I was hiring.
The problem is time. Anything that can be coded from
scratch in ten or fifteen minutes is going to be pretty
simple, certainly far short of the degree of difficulty
attached to the prospective job. Discovering that somebody
knows how to code a Heapsort or doesn't know how to code a
Gaussian elimination doesn't really tell you all that much.
Yes, you'll weed out the outright liars who claim to be
experts and truly know nothing at all, but I hope you have
more efficient ways of accomplishing that task -- the poseurs
ought never even to get an interview.
But fashions change, and I haven't been on either end of
the hiring process for some years; maybe tests are now in
vogue, despite their shortcomings. Personally, I used to
prefer asking the interviewee what projects he'd worked on
and then drilling down on a few of them: "That sounds disk-
intensive; were there performance problems? How did you
attack them? What gains did you get? In retrospect, could
they have been avoided with a different architecture? How
did the problems you struggled with on Project X influence
your design and coding decisions on the subsequent Project Y?"
I felt this gave me a better idea of the person's potential
to be helpful than would any number of prime finders.