What is good code?

Answers were Sorted based on User's Feedback

What is good code?..

Answer / rad

These are some important qualities of good code

Cleanliness: Clean code is easy to read; this lets people
read it with minimum effort so that they can understand it

Consistency: Consistent code makes it easy for people to
understand how a program works; when reading consistent
code; one subconsciously forms a number of assumptions and
expectations about how the code works, so it is easier and
safer to make modifications to it.

Extensibility: General-purpose code is easier to reuse and
modify than very specific code with lots of hard coded
assumptions. When someone wants to add a new feature to a
program, it will obviously be easier to do so if the code
was designed to be extensible from the beginning.

Correctness: Finally, code that is designed to be correct
lets people spend less time worrying about bugs and more
time enhancing the features of a program.

Is This Answer Correct ?    0 Yes 0 No

What is good code?..

Answer / radhika

A code whether it is good or bad can be known only if it is
tested. So good coding ,results in low bug density(Low
severity +Low prioirity defects or no defects at all)

Is This Answer Correct ?    0 Yes 0 No

What is good code?..

Answer / rajeshwar rao

A good code which is===1. Bug free.2.
reusable.3.independent.4.less complaxcity.5.well documented
easy to change is called good code

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

What a manual tester should know about web servers?what he tests in servers?

3 Answers   Mind Tree,

What is Independent Testing?

0 Answers   Satyam,

why we go for winrunner ? and when we go for winrunner

2 Answers   CSC,

Explain Localization Testing ?

3 Answers   CTS,

what type of questions we can ask the interviewer after finishing of the interview?

3 Answers  

What is Database normalisation

3 Answers  

what is metrics in software testing? give me a brief detail about it?

1 Answers  

What can you tell about the project if during testing you found 80 bugs in it? or What is the V-Model Development Method and do you agree with this model?

2 Answers  

what are the UAT bugs...why they come ??

2 Answers   Satyam,

this is a question asked by an interviewer..."why have u choose the testing field"

2 Answers  

what types of bugs will we find out in banking projects

1 Answers   TCS,

i have 3 years of manual testing, i have 1 year of exp in banking domain project, if i am attending any interview what kind of question i will get?

2 Answers