Thryft interview question

Explain the thought process when coding and fixing bugs