Pregunta de entrevista de Revolut

When to use OOP and when to use functional programming