Answer Posted / 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 |
Post New Answer View All Answers
Discuss what test metrics you feel are important to publish an organization?
Hi, Im B.E 2011 pasout,worked in back office till now, but now im searching for job into manual testing with fake exp of 1 year..Plz suggest me how to prepare for an intervw? how to gain real time testing knowledge? Is dere any site where i can practice testing?
What are the benefits of requirement traceability?
What is junit & api?
What are the main key components in client and server applications?
How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }
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?
can any body tell me what is the process of between after getting a documents and testcase writing.
Explain Testing process in your organization?
What are all the netwoking tools, hardware tools and software tools required for testing a web-based n client server applicatopn?
What do you do if the bug that you found is not accepted by the developer and he is saying its not reproducible.
How we will test ubercate
What kind of input do we need from the end user to begin proper testing?
What is the responsibility of programmer’s vs QA?
What is the difference between functional testing and integration testing?