2,020,321 for abstract thinking

1. Quotations excerpt

  (0) variable names and complex process on

    "In general, the calculated results are very complicated if every time need to use them, you need to remember and repeat to write their details, that would be very inconvenient. In fact, the complex structure of the program , that is, in order to further create more complex computational objects, explain that enables gradual construction process very convenient, because we can through a series of actions to gradually create objects from the association name and needed. "

    "Composite process by providing the name of the process, you can put such a process as a basic unit to operate. Process definition should be able to hide the details. In this way the user process may not be necessary to write these processes, but from other programmers where as a black box to accept it. users in the use of a process, you should not need to figure out how it is implemented. "

  (1) about why you need to define such a concept cube? (P37)

    "If we always perform the operation for each cubic particular value, the process is not clearly defined cube. This put himself placed in a very bad situation, forcing us forever in the basic operation of the language just provided (multiplication) performed on the level of work, without being able to work on more advanced operations. we write the program can calculate the cube, but the language can not express the cube. people powerful program designed with an inevitable requirements that can be designated as public mode, and then build an abstract work directly on the level of abstraction. process provides this capability. "

  (2) higher order thinking process?

    "In the study of complex process when the recombination process as an abstraction mechanism is crucial, because it allows us to combine general calculation method, using the programming elements in the clear. Now we see that higher-order how can the process of operating these general procedures, in order to establish further abstraction. as programmers, we should maintain a high degree of sensitivity to this type of possibility to try to identify the basic abstraction from the program, giving them further construction and promotion they are more advanced abstraction. of course, this does not mean always possible to write abstract program, programming experts know how to work under the circumstances, to choose the right level of abstraction, but this abstraction can go on thinking it is important, the only way to apply them in a new context. the importance of high-order process, is to bring us to explicitly use elements of the programming language to describe these abstract, so that we can operate like other computing Like elements to manipulate them. "

  (3) Why use composite data?

    "Because we can enhance the conceptual level in programming time is located, to improve the modularity of programming and improve the expressive power of language, just as the construction process allows us to handle complex computing work at a higher conceptual level, as constructed in line with ability of data, but also will allow us to more basic data on the object to provide a conceptual level than words, deal with various issues related data. "

2. Personal Reflections

  Programming is from the basic elements to construct complex code, like writing a literary work is a build up, forming a symphony is one note, and paintings is a little flat coated pigment. However, the more ambitious and works complexity will grow exponentially, so in this case how to control the complexity, so that can think globally, but also as far as possible to detail in every possible way to do it? the solution is to abstract, abstract achieve a layered and modules technology, allows us to focus only on each part of the content, while the rest of the details of the package, which provides the necessary conditions for thinking about the current focus, otherwise, because too intricate details of the cause always doing repetitive and low-level work, the high-level thinking is not possible, so the problem is caused by the global directional miscarriage of justice, and all kinds of loopholes in the details, ultimately leading to irreversible failure. One difference is not that the essence of good programmers for a language familiarity with grammar, or use the framework and modules, of course, these are undoubtedly important, if we want to realize the function programmatically, but heavier It is here that the ability to abstract, because abstraction can represent a more complex control system, which is the architect in charge of a small module is a programmer of any basic skills, otherwise we can not his job. However, control complex systems control the overall situation, but it is the scarcity of capacity in the industry, even though we have been saying too many people in this industry, but for this kind of talent, in fact, is not enough.

  "Do not want to marshal the troops is not a good soldier." Of course, not everyone can be a marshal, not a marshal, you can have fame and fortune. So go marshal, but, with the possible opportunities for global control of yourself, you can enjoy to realize their ideas, this is a very different thing, the meaning of life lies in the development of their potential and self-realization, but if not the ground, the potential is only potential, will never sleep. for programs members, too, should be the architect of a heart, and the most basic step here is to do the first thing to remember abstract, make your code more general, then, keep practicing until you can make the appropriate abstract. with the enhancement of self-awareness and ability, you can finally have the ability to manage complex systems, which use this media programming, issued the strongest voice for you to do something for the world.

  "Gou Nisshin, Japan Nisshin also Nisshin"

Guess you like

Origin www.cnblogs.com/znn041622/p/12543675.html