How to fully understand the source code and other people write codes

Source: Internet
Author: User
How can we fully understand the source code and other people write codes
In addition to more output, read the function of not a function, and then through debugging to run in series, but also how to read the source code and other people wrote?

------Solution--------------------
English should be standard. Then combine the actual application scenario of the program to see what business logic is dealing with. increase, delete, change and search.
------Solution--------------------
First, the foundation is deep. To be able to read the code.

Second you can run it first. Look at the code based on business logic. Echo/var_dump debugging at any time. Do not understand the Internet to check.
------Solution--------------------
First use, know the specific file, folder function. Then master the basic operating flow. Then slowly a little change, analysis. You'll see more slowly. Know a lot.
------Solution--------------------
Proficient at least one programming language to understand PHP syntax
Do not have the framework of the general can understand, or the use of tools or forums to understand slowly.
------Solution--------------------
Use the manual first, then try it.
------Solution--------------------
First of all have to have the basis, what function to do what use to understand, followed by demand, then is the analysis code, analysis of the time according to the boss of the Department of Millet guidance: "Along with the author's ideas" All the way down. Like you want to see the structure of a building you have to understand the material, size, endurance ...
  • 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.