Yahoo interview question

How do you determine good code