Pregunta de entrevista de PagerDuty

When would you use functional vs. object oriented programming?