About the accumulation of programmers and software development.

xiaoxiao2021-03-06  49

1, code is reused, code is partial, organizes one or several methods (or class), does not refer to code copy and paste; reuse does not necessarily refer to a code, or a form, A class; 2, can determine a method or a variety of implementations of the class or a variety of implementations, parameters may not be one or more values, or the instance of the class; 3, the business is diverse Dispersed, but data is concentrated; 4. Don't come to write a problem when writing programs, but if you don't have problems, you should predict possible problems according to experience, then avoid it; 5, The writing program is an art. The programmer is an artist; it is like the painter in painting, abstract painting, and some people can understand. We should not do "abstract programmers" who can't understand; 6, Programming is indeed an art, not a simple write code; since it is art, what is art origin? Art is inspiration, what is inspiration? It's not the next piece of pies, "" is on the head, ah, my inspiration is coming, it is estimated that it is not possible. Inspiration needs to think about making a foundation, there is a matter of thinking to change to the quality! So programming this art to think! 7. I am working in work, thinking about 2-4 times the code time, thinking is important, a program is published and an important link, which is test, I think a person's code test is at least three Step; A, developer yourself; B, cross test: hand over the test, A handle it to B test; B is handed over to A or C; C, internal approved: company The technical person in charge and the person in charge of each project, let's take a look at the procedure to be released, then discuss whether such procedures can be implemented to users; 8, the people are in the earth, the software is developing in the accumulation and constant thinking; 9, the code of the code From the clear logic, but not the amount of code is simple; 10, what is the class? Some people think (even now there is still someone thinking so) it is the collection of methods, I don't think, the class should be some collection of the collection of objects with common properties, methods, events; in addition, these attributes and methods must be their own Abstract, other things are not, such as a simple example, such as: people are a class, while the wheel is the property of the car, starting is also a car method, if the attribute of the wheel is carried out, put it In this class, obviously, it is not cascaded; 11. Learn a new technology, first understand what he can do, learn a language, first understand its most basic grammar; 12, when a work is about to begin, Be sure to estimate the time required to complete this work, it must also let the user know this time. Can't estimate your estimation because of your user's acute noise. If the user's time is very urgent, try to reduce the function to be completed, to make the shortcomings, if you do an unreasonable design without considering sufficient, write unreasonable code, not sufficient Testing, consequences will be endless maintenance.

转载请注明原文地址:https://www.9cbs.com/read-116106.html

New Post(0)