Could someone explain, why do we need to have getResult() method? Why buildPart() has no return value? It seems like an unnecessary step which has no real benefit. Why would we call buildPart() it we don't need the result?
I think it would be much more effective, if buildPart() returns the result.
Aucun commentaire:
Enregistrer un commentaire