Great interview question:
“When you come across poorly written code, do you think:
1. ‘Wow this guy was an idiot or lazy.’
2. ‘Maybe this code looks bad but the author probably wasn’t an idiot. It was probably reasonable solution at the time.’
The 2nd answer is the one of wisdom. Ask the interviewee to expand on this so you can tell if they really believe it.