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

Who design the test case templates?

5 Answers   IBM,


Build is going to be delivered in another 30 mins.At that time you have find an critical failure. What will u do ?

5 Answers   Polaris,


Hey guys, Developers compile the code they write. That is a kind of testing!! Which category it belongs to in Testing. Static testing or Dynamic testing. Please clarify

13 Answers   IBM,


Architectural structure of the insurance project?

0 Answers   IBM,


What is the difference between Sleep and wait in winrunner what is integration testing and types of testing present what is system testing what is data driven testing what is functionality testing if requirements are given to you then how do you write the test cases for it Account number = Ok cancel For above given form the valid account number starts from 1 to 1000 so is it necessary to input the 1,2,3 ….998,999,1000 test cases to check the conditions of valid account numbers I,e is it compulsory to write 1000 test cases for the above form

0 Answers   Blue Star,






how we maintain buid versions without using CVS or any other tools ? are tools neccesary for maintaining versions?

1 Answers   HCL,


Wht is SQL injection?

3 Answers  


Can anyone help me out to get Test clear in Adobe as i have call and My apti is too low as i preparing for technical..mail me at satijaa.tarun@gmail.com Thanks in Advance

0 Answers   Adobe,


What is the difference between business requirment document and software requirement document?

2 Answers  


what are the key challenges of testing?

1 Answers  


smoke test as a example for naukri.com

3 Answers   TCS,


what is forward & backword tracebility matrix?

1 Answers  


Categories