Good discussion, however I think the hidden comment on the page part is a bit silly. Aside from the fact that it is a leading question designed to trap the candidate, it's also something you'd rarely run into with modern apps and browsers. I can't remember the last time I used "view source," it's almost always inspecting specific elements on the page or looking at the performance, source or network tabs of my dev tools for insights.
Good discussion, however I think the hidden comment on the page part is a bit silly. Aside from the fact that it is a leading question designed to trap the candidate, it's also something you'd rarely run into with modern apps and browsers. I can't remember the last time I used "view source," it's almost always inspecting specific elements on the page or looking at the performance, source or network tabs of my dev tools for insights.
Fair point. This post was originally written about 5 years ago.
It wasn’t designed as a trap, just so happened the candidate lied.