Search:

Type: Posts; User: helloworld922

Search: Search took 0.14 seconds.

  1. Replies
    4
    Views
    1,891

    Re: help cleaning up code

    Using System.exit() is usually done to cover up problems where you program isn't running (or ending) correctly. It's not a great solution, but in real life time is money so sometimes you've got to...
  2. Replies
    4
    Views
    1,891

    Re: help cleaning up code

    1. Use comments. Especially Javadoc comments on public/protected functions.

    2. Use proper indentation. This means each block should be indented with a "tab" or "4 spaces", which-ever you prefer....
Results 1 to 2 of 2