Glovo interview question

Question about good programming practices