Code review and Code style

Source: Internet
Author: User

1. Keywords, syntax, operating mechanism, code logic

2. Code functions. The code is concise. Not lengthy. Code to reuse, abstract out, do not copy/paste

3. New, code review, code quality control. Logic.

  1. Respect the code of others
  2. Let owner change the problematic code himself

4. Comments detailed, function, earnest

5. Code Review (cross-review/review)

  1. Package batches, mutual review.

6. Through human behavior, more than 90% per cent are derived from experience. 10% we need to create!

7. Magellan. Code coverage. Magellan, the first man to circle the earth.

  1. How much code executes, but can't tell how much code is executed well

Code Analysis Rule

Rule of thumb, code naming, resource release, etc.

Code full try, no confidence in the code.

Code review and Code style

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.