One of the most common conversations a developer has with a team leader or team member is probably about an issue. Let's say an issue has arisen and we want to share it with the boss.
def share_issue_to_solve() -> str
# issue log path : /home/asdf/logs/error.log
show_issue_log()
# googling results : notion page link
show_googling_result()
if boss_want_to_run_my_code:
success, logs = run_my_code_and_show_error_case()
success = await boss.solve(logs)
if success:
return 'solved'
if boss_has_some_time_to_check:
return 'boss will handle it. we will have another meeting'
return 'not solved. I will handle it'
After writing the above code, prepare the following sentence and talk to the boss.