Angus Ferguson wrote:I have created an app, it is working it has around 30 classes. The code is dirty and maybe bad done. I am interested in improve the code. Put all the classes in the the correct structure, etc.
Could you give me some advices about what way do it in a standard way, please?
Ooof. That's an awfully broad question. Whole books have been written on the subject, so don't expect to get a full answer in a forum like this.
About the only advice I can give you is this:
1. Before you start changing anything, write out a detailed description of WHAT the app is supposed to do (Note: WHAT it does; not HOW it does it). And write it in English (or your native language).
2. When you do start changing, tackle one class at a time.
Isn't it funny how there's always time and money enough to do it WRONG?
Joined: Jun 22, 2012
And what about check if the code adheres to the Java coding standards and best practices and if not how to improve it?