I work on Android and Java almost all the time. I am still at an intermediate level of experience in both. But whenever I code, I try follow and implement all the OOP concepts while programming even for small applications or programs.
I have a question that does creating a METHOD for each functionality (data passing, data retrieval, calling subroutines in other classes, activities) is a good practice or a bad practice? And does creating lot of methods(modules) degrade performance?
Any sort of help or explanation is truly appreciated.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire