Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 970467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:48:33+00:00 2026-05-16T02:48:33+00:00

I have just created a mid-sized web-application using Java, a custom MVC framework, javascript.

  • 0

I have just created a mid-sized web-application using Java, a custom MVC framework, javascript. My code will be reviewed before it’s put in the productions servers (internal use).

The primary objective of building this app was to solve a small problem for internal use and understand the custom made MVC framework used by my employer. So, my app has gone through MANY iterations, feature changes and additions.

So, bottom line, the code is very very dirty and this is my first “product level” Java app.

What are your suggestions, what are some basic checks/refractoring I should do before the code review?

I am thinking about:

  1. Java best practices (conventions)

  2. Make the code simple to understand for the developer who will maintain it. (won’t be me)

  3. I noticed, I have created some unnecessary objects and used hashmaps/arraylists where could have easily used some other Data structure and achieved the solution. So, is that worth changing?

Update

Your Code Sucks and I Hate You: The Social Dynamics of Code Reviews

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:48:34+00:00Added an answer on May 16, 2026 at 2:48 am

    If you did not already, (assuming you use an IDE like eclipse)

    • get plugins checkstyle and findbugs
    • go through their configuration and tune to your style
    • run them on your code
    • resolve all issues reported

    you can also tune the compiler warning setting of eclipse itself and possibly make them more strict in what is reported.

    Look at code structure:

    • get plugin jdepend
    • investigate your package structure

    Code against interfaces (Map, List, Set) instead of implementation classes (HashMap, ArrayList, TreeSet)

    Complete your Javadoc and make check it is up to date after all refactorings.

    Add JUnit tests; if you have no time left to test the whole application, at least create a test for every bug you find and solve from now on. This helps “growing” a test set as you go.

    Next time design and build your application with the end goal in sight. Always assume that the next guy having to maintain your code will know how to find you 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just created a grid application using the template provided in Visual Studio
I have an MVC 3 application which uses asp.net authentication. I have just created
I have just created a report in Report Manager using a Stored Procedure which
I have just created a new project in VS2010 using the Visual c# >
I have just created my first Rightscale ServerTemplate and Deployment using a bunch of
I have just created a new Git repository backed by Subversion, using git svn.
I have just created a user in ASP.NET MVC ,and i want to insert
I have just created a new MVC 3 project and updated all the installed
I have just created my first rest service using apicontroller. I am using it
I have just created a .properties file in Java and got it to work.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.