I used this technique for interviewing software engineers and interns. Reading their code is like reading a piece of writing when hiring a technical writer. You see their work and their coding style. Have they commented the codes well? Have they tried to optimize their code? Josh Bloch: I want to see their code. You get to see what they pick. You learn what they value. You learn how they communicate… How to Interview a Programmer – [Artima Developer]