Python learns how to get from rookie to veteran

Source: Internet
Author: User

good code, must be refactored out!
    1. First let the program run.
    2. Initially refactor the code first
    3. Add Comment
    4. After completing the program, consider the exception and make the program robust.
    5. Put the global variable, mentioned in a separate configuration file
    6. Add some test Cases
    7. Add Log Module
    8. Performance-Optimized
    9. Third refactoring, function change class
    10. Check your code with Pylint.

Python learns how to get from rookie to veteran

Related Article

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.