I was on a job interview few days ago and for the n-th time in the technical part I was given a detailed test with a set of .NET questions, some simple, some harder. After I had finished I thought about the reasons of doing this, because I don't really see the point. If I had to do something in my project that I already did't know, I would simply go to google and find an answer in about 10 minutes. Does it really matter if i know all these details if I know where to look and I can easily and quickly learn them? You may know all the tricks of the language but it doesn't mean that if you write your code it's clear, it's well-documented, easy to read, easily scaled, well designed. And almost noone checks it - I was asked to provide a sample code only ONCE and I've been to several interviews. It's not hard to learn the language, but it's hard to use it well and to solve problems effectively. And what about a will to learn, how easily you learn and all that stuff? Doesn't it matter more that the detailed knowledge of the technology?
So if there are people who interview, and I know there are, could anyone explain me why are the interviews designed this way? Is it the lack of time, lack of people who are willing to review the sample code or are there other reasons? Or (if your interview is more complex) what do you do to find out a bit more of candidate's programming skills than just the knowledge of the basics?