why do people insist on making candidates write code on whiteboards anyway, its the exact opposite of 'right tool for the job'
When a candidate is solving a problem on the whiteboard, an experienced interviewer can make a good judgement. In my experience, anyone who's a good developer does well on the whiteboard. However, the inverse is not always true.