Solved

Coding Excellence

Posted on 2006-10-26
3
299 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Suggested Courses

752 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