Technological life development 4

Source: Internet
Author: User
Tags coding standards
The development of developers generally has another problem: whether or not they are making a low-level loop. For example, a developer is responsible for coding at the beginning. The first project did a good job. The first two projects were still encoded, And the encoding content was not bad as it was for the first time. Sometimes I even copied the original system and modified it a little, you can do this once or twice. When you do this for the third or fourth time, you will not be able to stand it any more. If the work below is still like this, it is estimated that you are not too far away from crazy. Maybe you will say that the unit is like this. Apart from encoding, the system is similar. How can we improve it? In fact, it is not very difficult to do the same job to improve your development level. You can improve yourself in the following aspects by a developer who just joined the job.
1. The level of coding standards. One reality cannot be said is that our developers' coding standards are not very high. Generally, the coding of the developers who just participated in the development work is very nonstandard, non-standard code can run, and sometimes the system functions and performance are good, but there are often many problems in other aspects, such as code readability, modification, scalability, the real good code has high requirements in these aspects. It is recommended that developers who have just joined the work can make some adjustments to the Code standardization when writing a piece of code, such as the code format, the length of the function segment (no more than 66 lines), Code annotations, variable naming conventions, code annotations, and other work. After these work is completed, you will find that the readability of your code is greatly improved, and the code debuggable is also improved a lot.
2. Understanding of the Development Platform. Generally, it is difficult to have a detailed understanding of the development platform when a development platform is used for the first time. Therefore, the system features of the Development Platform are difficult to use, when you have time, you can look back at the user manual of your development system. Generally, the random help file of the system is the most comprehensive database. After the system is developed, go back and read the system's random help file again to see what features can be used in your system, replace your code with them, and see what the effect is. In general, the efficiency and reliability of system code on the development platform are much higher than those of your own code. As you learn more about the system platform, the coding capacity of your code will gradually decrease in the future (you will not manually write the existing Code of many systems if you do not know it ).
3. Adjust the system architecture. The highest level of developers should be architects. However, architects did not fall down from the sky, but gradually gained experience. No matter how small your development system is, there are also architecture problems, making some adjustments to your system, and what code can be merged, where it can be reused. It is helpful to redesign the system structure to improve your design level. Generally, during project creation, due to time constraints, especially during the first implementation, the system architecture is often difficult to make reasonable. After the system is complete, let's look back at what is well designed and where there is a problem. In general, a system can become a better architecture after three repeated modifications. In addition, let's see if the system can be reused. Whether it's code reuse, class taking, design taking, or architecture reuse, it doesn't make a summary or arrangement of the system you developed, finally, a more practical and reliable system is formed.
I 'd like to give you some specific suggestions.
1. Read the code book. I heard that this book is coming into the second version. This book can be called a Bible written in code. Reading this book carefully is definitely good for coding staff.
2 A system needs to be designed twice or three times, and the following times are the optimization process of the system. It has a great effect on improving the individual's design level.
3. coding standards are an extremely important means to reduce system problems and improve development efficiency. Standardized coding can increase your work efficiency several times.

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.