How do you ensure quality of code ?
Answers were Sorted based on User's Feedback
Answer / debi
We ensure quality of code by doing
1)Self code review
2)Peer to peer code review.
3)Adher to different coding standards
4)Follow best cdoing practices.
5)Ensure right code version by making CM audit check list.
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / sanjay
Testing (specially Unit testing) and peer code review
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ash
- Lots of unit testing (code should not break is first and
most imp part of code quality, +ve tests and -ve test with
code coverage)
- continuous integration with integration testing. (clean
separate machine)
- Pair programming or peer code review
- Best practice coding rules like uniform and descriptive
naming, commenting, using patterns if applicable, etc
- code review tools like fxcorp and other free ones available
| Is This Answer Correct ? | 3 Yes | 0 No |
When should design patterns be used?
What is the behavioral design pattern?
What is a lazy initialization in singleton?
What is the difference between proxy and adapter?
What are the biggest trends in UX Design these days?
What is difference between GoF and J2EE patterns?
What are the differences between the design patterns and the framework?
Is singleton bean thread safe?
What is the executor design pattern?
Give me example of chain of responsibility design pattern?
What are the benefits of the proxy in the design pattern?
What is software 'quality'?