Created
August 5, 2013 23:44
-
-
Save marciojrtorres/6160677 to your computer and use it in GitHub Desktop.
Nomes semelhantes dificultam o entendimento e nomes diferentes deixam claro as diferenças
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Usuario { | |
// ... | |
Historico getUltimoHistorico() { ... } | |
List<Historico> getTodosHistoricos() { ... } | |
// ... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Usuario { | |
// ... | |
Historico getHistorico() { ... } | |
List<Historico> getHistoricos() { ... } | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment