Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Coding Excellence

Posted on 2006-10-26
3
Medium Priority
?
306 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 500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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 …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

963 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