This post starts off a a defence of the now derided whiteboard exercise (which I suspect OP does indeed have some sympathy for) but then produces a number of other coding assessment styles which can complement or replace the idea. Reading code, Debugging code, Sharing codeā¦all pretty good ways to see where a developer might be at in terms of coding chops.
Have a read here