Question d’entretien chez WeShape

How would you optimize the code?