Question d’entretien chez GRAPHISOFT

Find the bugs in the code How would you refactor it