Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Update on already made mobile application
Can another developer write a code, update or develop someone else Android mobile application without any explanation from the main developer. I mean to say can I start a mobile application with one developer and get another developer to finish or add to the mobile application without any actual written or oral explanation.
Yes, absolutely, as long as the original developer followed best practices. Just like a writer should make a book understandable to its readers, a developer should make its code easily understandable to other developers. How? To start with, by giving descriptive names to the variables, methods and classes, by sticking to naming conventions (camel case, etc...) , by indenting the code properly and maybe skipping a line where necessary, and by leaving comments in the code if some part needs extra explanation. Also, organising the classes in sub packages goes a long way (you can read more about architectural patterns). You can also check out code samples from Google (since you mention Android) or from renowned/experienced developers to get a glimpse of what good code looks like. There are many books on the subject that will go more in depth to help you write good, clean code.
There's a joke that goes:
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
Finally, while there might just be a single developer working on a small app, it is common to have a team of developers working on the same app in the professional world, so the code needs to be understood by all and might be amended by anyone where needed. As long as everyone follows best practices and codes with the others in mind, and not just for themselves, it ¡s perfectly feasible.
Hope that helps :)