Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to work comfortably in big (Android) project? [closed]

Tags:

java

android

I have created an app for Android some time ago and uploaded it to Google Play. I am really happy because users like my application and request updates and improvements.

My project is growing bigger and bigger and it's gotten to a point where I am scared to change things because I might break something else. I also find myself thinking of all parts of a program at the same time sometimes. It's stressing me out a bit, to be honest. I love doing small projects and I'm comfortable writing the code. I would like to be relaxed when working on something bigger too.

I work with Android Studio by the way.

So, how to work comfortably with big projects and not think of all parts of the program?

Thanks.

like image 217
user3054843 Avatar asked Nov 14 '15 13:11

user3054843


2 Answers

Dear user3054843, The main thing is, this question and it's answer both can't be perfect because-

  • it differs from developer to developer
  • & project to project,

Large projects are not everytime difficult to handle and manage, sometimes they may be covered up within less time and less efforts.

Sometimes small projects with unique and extra functionalities may be difficult to handle due to a lot of R&D.

Whatever is that, but atleast keep the following points with you to handle the project efficiently:

  1. Divide complete project requirements into modules.

  2. Create packages by feature, or packages by structure. ("packages by feature" is a better way).

  3. Try to use separate classes and methods to avoid code complexities and to make it easy to understand.

  4. If any large functionality is required, then use open source lib if available and as per your requirements.

  5. Do everything step by step, and solve problem instead of skipping.

  6. Work Hard.

Thanks,

like image 81
Androider Avatar answered Oct 02 '22 19:10

Androider


First of all I don't have in my mind any tool or any specific method to handle big projects. But I can give you some recommendations that I am trying to apply in my everyday life. First of all , write good code, well organised according to java rules (good class and variable naming, packages etc). Second, avoid repeating code. Third, if you have a huge amount of code that does a specific job, make a library. That method reduces the size of your visible code. These 3 methods I use to reduce the size of my projects (if there is such need)

like image 36
karvoynistas Avatar answered Oct 02 '22 21:10

karvoynistas