I think this author is letting their ego get in the way. The interviewer doesn't have time to review their past work and make judgements on that. Devils advocate, even: How do they know you actually wrote that code? Granted I'm not on the programing side of things, but a white board presentation is a great way to quickly gauge how a person solves a problem, and if they know what they're talking about. My first programing job (in 2009) I was asked to hand write out a bubble sort. Ok, which flavor? Java? Sure thing. I got a few things wrong but the interviewer clearly saw I knew what I was talking about, I wasn't afraid to tackle a problem head on without a computer, and could think it through.
This author should really reconsider their attitude towards getting a job, and be willing to stand up and put the effort towards getting that job.