Problem with a whiteboard is that once you start writing, you are almost committed to your initial attempt. You cannot copy/paste and move bits of logic around. Left out an if(xyz)... conditional? Well then hopefully you've spaced out your code so that you can sneak extra pieces in as you work your way through it. I would much rather solve a problem on a laptop hooked up to a projector.