Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

whats the use of following Good Coding Practices?

Answer Posted / suresh.chaluvadi

For Efficiency: The easier your code is to read and follow,
the easier it will be to keep track of where you are with
your code, and the quicker it will be to pick up where you
left off after a break.

For Easier Debugging: Knowing where your problem lies is a
major debugging tool. If you used comments,you can easily
follow your own logic, and if you have line numbers and
consistent formatting,you can easily scan your document to
pinpoint a trouble area.

For future expansions and modifications: Using comments in
your code is especially important for future changes,
because it?s difficult to remember the logic behind code
that was written years or even just months ago. Also, if you
are working on code that involves a team, if everyone
is using the same coding styles, it will be much easier to
make changes or additions to someone else?s work down the road.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to add Servlet-api.jar file into eclipse 3.3.2 ?

4539


What's the difference b/w Table & Templete in Smartform?

2188


how to generate dsnless connectivity in j2ee

1989


Write a program to find whether a given number is prime or not.

989


How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net

1963


ok how would i do the following extract from a file i have ssns = 267907230 which are in column 7 into a separate data set then create a 2nd job step to extract from the data set created the following "fund code" which is in column 31 and is 113 into yet another data set

1963


diffrence between oracle apps , .NET , SAP

2079


What is WEB 3.0? What are the features their in WEB3.0

2087


what are the things i had to say in personal introduction in hr round mail me to prasanna.1867@rediff.com

2095


How to call a C++ function which is compiled with C++ compiler in C code?

1270


What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?

2062


One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)

3535


Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?

1897


what is the difference between Windows application and Unix application?

2612


in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'

2196