PagerDuty interview question

When would you use functional vs. object oriented programming?