Pergunta de entrevista da empresa Glints

Why you choose this design pattern? Is any profs or cons?