Excellent answer Roger. Whiteboard is not a silver bullet. It really depends on what the interview really trying to asses and use a better tool to do that, I would personally prefer to write code in a developer environment (IDE etc) as that is the most natural place for me to write quality code.
White-boarding is good for high level design and architecture but not for actual code.
White-boarding is good for high level design and architecture but not for actual code.