What is good code?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
what is difference between test strategies and test data ?
suppose if you press a link in yahooshopping site in leads to some other company website?how to test if any problem in linking from one site to another site?
If you stuck somewhere while reproducing defect then what will you do?
Suppose there are three modules A-B-C, the output of A is responsible for B and output of B is responsible for C and if A & C is not ready & B module is ready then how can u check Module B
what is the difference between functional testing and regresion testing
Who will do the design phase testing?
what is the diff b/w bug and defect?
How will you divide two numbers without using the division operator?
2 Answers Aspire, College School Exams Tests,
severity and priority of bugs?
Puzzle:A rope, a match box are given.the rope takes 1 hr to burn off completely.the rope is not uniform.there is no watch with u.how can u calculate half an hour of time?
How much experience do we have to become a QA? What are the responsibilities of QA?
In testing can you explain the concept of work bench?