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 testing tool and tracking tool? Give example for both tools? whether QTP is testing or tracking tool?
1> Which is the latest technology use for login page? 2> What is virtual keyboard? Is it more secure than key board?
Different environments in software testing?
what will you do when you were given two diffrent projects and asked to complete them at same time?
what are the testing process in your company?
What are the testing types? Tell me abt few?
what is bug description document?how to prepare it?
If any bug is found in exploratory testing, then may I consider it as a test case?
Testing methodologies and Testing techniques are the same one? Hope Black and White box testings come under test techniques. Then what will come under methodologies ?
Any body can write the test cases for Address field, Mobile Number field & Landline Number field ?
3 Answers Maslin Technologies,
What is penetration matrix and how it is used in software testing?
IF ASCII_CODE_OF_ENTERED_CHAR is less than 44 THEN reject it ELSE IF ASCII_CODE_OF_ENTERED_CHAR is greater than 56 THEN reject it ELSE it's a digit, so accept it Which one of the following sets of ASCII codes do you use to test the sample code above WITHOUT redundant coverage?
0 Answers CA, Dish Network, Wipro,