Very interesting to see myself code: see the frequency of typos, see the order I write things, etc...
But, as a candidate, once you try it once, and see what the interviewer will see, you become very self-aware of those minor details. It perhaps adds a bit of unnecessary pressure for some.