Game program New module Add process

Source: Internet
Author: User

Design
    • Read planning related documents, understand the main idea, record the points that do not understand

    • Communicate with the non-understanding of the place and plan, and confirm the document modification, upload

    • Timely communication in the event of a technical implementation or current project allocation work time conflict

    • Read the code in the current project that is relevant to the current feature, and consider how to add a new module

    • Add a UML design document

      • Data structure of related function modules

      • Related types of interrelationships

Coding
    • Reasonable organization of directory structure for different modules

    • Add a well-designed data type

    • Adjust the relationships between classes

    • To add a member variable for a class

    • Inserting related modules into an entire project

    • Implement specific functions

Debug Test
    • According to the test cases issued by the plan, run the test on a per-article basis to ensure the completion of basic

    • Program for its own function, design exception condition input test

    • For indeterminate places, add logs and line-by-debug debug through

Refactoring
    • yourself for newly added features, modify not and specify the naming

      • Not very good at expressing the meaning of what is represented

      • Naming non-canonical

      • There are constants that appear in the encoding

    • function content is not single

      • Modify a function to do only one thing

      • Reorganize function-related content and structure

    • Check the relationships between classes

      • Whether the inheritance relationship is reasonable

      • are access rights open and reasonable

    • Organize program content

      • Remove Scaffolding Program

      • Code to delete comments

      • Add a log that helps plan to find problems in a timely manner

      • Constants used in the grooming program

Audit
    • Code specification

    • Design structure

    • Scalability

    • Robustness

    • Security

Submit
    • Get the latest version

    • Merge code

    • No problem after running the test merge code

    • Modify the code by viewing the comparison tool

    • Write comments, submit code

Game program New module Add process

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.