JayThomason / Tutti

Tutti is a shared music application for the car being made in conjunction with Audi.
3 stars 1 forks source link

End of quarter Code Clean-Up #79

Closed hwray closed 10 years ago

hwray commented 10 years ago

Given our "heart-attack" approach to the software dev side of the project, our code base has gotten slightly hacky and diffuse. It'd be great to clean things up a bit before Friday: remove debug System.out.println()s, delete old code that is redundant or no longer being used, add some comments, and maybe move some things around for better encapsulation. Perhaps Jay and I can get on this while working on our Wiki documentation tomorrow.

JayThomason commented 10 years ago

I've removed a fair amount of unnecessary code left over from previous iterations of the app: https://github.com/JayThomason/Tutti/commit/6a1457a9c04010a9d2c10d71df325dc8ab4ba2a0

JayThomason commented 10 years ago

I think we should focus on a few things:

Recall that our goal is two-fold:

  1. Improve our code quality so that it is easier for us to write and maintain our codebase moving forward.
  2. Make it easier for a new Android dev to jump into our project, understand the design and structure, and contribute.
hwray commented 10 years ago

I totally agree with these priorities and actually really appreciate you recalling focus to our goals. I'll be taking a structured tour through our codebase to tackle some of these issues.

hwray commented 10 years ago

After a first pass through the code, here's what I've done and what I've noted down to do later:

JayThomason commented 10 years ago

I've done ViewJamActivity pretty extensively as well

JayThomason commented 10 years ago

There is still a fair amount of code that we could refactor, and we will probably need to in the long run, but for now I have cleaned up every source file to some degree so I'm going to close this issue.