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
easily.

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

how can u do usability testing on website?

2 Answers   Accenture,


hi this is altaf ....could any one send me details of all testing models

0 Answers  


Explain me in detail V model with diagram?

1 Answers   CybAge,


Test Manager's role in preparing proposals?

1 Answers  


What are the tools of performance testing?

1 Answers  






what techinques do u follow in suring testing?

1 Answers   ANZ,


What types of testing will come under functionality testing and non functionality testing?Security testing is consider as functionality testing or non functionality?why its so?

10 Answers  


when there is a new enchancement done by the developers what will do as a tester ?

2 Answers  


11.what are two of your weaknesses?

1 Answers   Satyam, TCS, Tech Mahindra, VJIL Consulting,


Do you agree testing is needed?Justify it?

1 Answers  


what is mean by Performance Related Testing in data base?

0 Answers   CSS, Wipro,


please any one can sendthis q answer HOW DO YOU EXECUTE THE TEST CASE?

2 Answers  


Categories