whats the use of following Good Coding Practices?

Answers were Sorted based on User's Feedback



whats the use of following Good Coding Practices?..

Answer / 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

whats the use of following Good Coding Practices?..

Answer / reejusri

Coding Practices is very important thing. main advantages
are:

1. Code maintainability
2. Ease usability
3. Extensibilty
4. Understandability

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

in teradata level primary in table level allows duplicates why?

0 Answers   TCS,


merge sort time complexity

6 Answers   BFL, CDAC, IBM, Jawaharlal Nehru Technological University JNTU,


3. What is the difference between testing and Quality Assurance?

0 Answers  


what you mean by mantis in IT interview? why we use mantis? advantage of mantis?

1 Answers  


What are the Advantages of HashMap over Vector?

1 Answers  






How to print No.of.rows affected after updation using ADO.Net

0 Answers   Tech Mahindra,


Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

0 Answers  


In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?

0 Answers   DST Global Solutions,


In Bioinformatics, a DNA sequence is made up of a combination of 4 characters, namely “A,C,G,T”. A subsequence of a given sequence of characters a0, a1, …an- 1, is any subset of the characters taken in order, of the form ai0 , ai1 ,…..aik-1 where 0 &#8804; i0 <i1….< ik-1 &#8804; n-1. For example in the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, we can have subsequences “A,G,T”, “A,C,A,A” and many more. A subsequence is palindromic if it is the same whether read left to right or right to left. For instance, the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, has many palindromic subsequences, including “A,C,G,C,A” and “A,A,A,A” (on the other hand, the subsequence “A,C,T” is not palindromic). Devise an algorithm (using dynamic programming) that takes a sequence of characters X[0 … n-1] from the alphabet set (A,C,G,T) and returns the (length of the) longest palindromic subsequence. Implement the algorithm in an appropriate language.

1 Answers  


how we define two jobs have same name??is it exist??

0 Answers   CTS,


How do you pass variables forwrd to future CECI sessions

0 Answers   Mind Tree,


Iam using Microsoft Visual Studio to create a system for mobile store I want to know how to calculate mobile price that the customer buy and how to reduce quantity from the data base that we have for mobile .And also how to calculate revnue for each mobile and revnue for the total mobile

0 Answers  


Categories