Question d’entretien chez Ampere Computing

Why split code into object classes instead of just writing it in a structured way?