I get the sentiment - but at some point, a hiring company absolutely has to test your ability to make a judgement about whether to hire you. Speaking from experience on both sides of the table, I'd rather that be through writing actual running code than through some awkward or irrelevant whiteboarding exercise.