Solved

Coding Excellence

Posted on 2006-10-26
3
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn different types of Android Layout and some basics of an Android App.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

636 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