Solved

Coding Excellence

Posted on 2006-10-26
3
296 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
ID: 17813349
0
 
LVL 9

Expert Comment

by:shinobun
ID: 17814839
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
ID: 17832419
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 79
where is session ID cache stored 1 47
Eclipse Neon and jdk 1.8.0 11 138
HSSFWorkbook cannot be resolved error 10 50
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

920 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

13 Experts available now in Live!

Get 1:1 Help Now