Solved

Coding Excellence

Posted on 2006-10-26
3
295 Views
Last Modified: 2012-06-27
I would like to develop my coding style into a compact, object oriented and perfect coding, just as the code we find in developers who develop software, packages etc. What are the guideline I need to follow.
0
Comment
Question by:rmvprasad
3 Comments
 
LVL 20

Accepted Solution

by:
Venabili earned 125 total points
Comment Utility
0
 
LVL 9

Expert Comment

by:shinobun
Comment Utility
Some tools you might want to constantly run your code against:

http://pmd.sourceforge.net/
http://checkstyle.sourceforge.net/
http://findbugs.sourceforge.net/
0
 
LVL 5

Expert Comment

by:kannan_ekanath
Comment Utility
Use a decent IDE. Eclipse or may be IDEA (if you dont have any financial constraints)

For example in Eclipse you press
Ctrl + Shift + F - To format code cleanly (as per Suns standards)
Ctrl + Shift + O - To optimise imports
Ctrl + Shift + T - To refactor.

In addition to this, it can point you to a whole bunch of intuitive mistakes like
a) Passing a parameter and not using it
b) Having a field but never reading / writing it
...and the list goes on...

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
The viewer will learn how to implement Singleton Design Pattern in Java.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now