Without learning a new course, the teacher reviewed the knowledge points in the previous lessons and assigned assignments, practice drawing Data flow diagrams, er diagrams and definitions.
This week I read the Code encyclopedia chapter II use metaphor to understand software development more fully
What is metaphor? To describe something that is unknown, or incorrect, by means of some existing things in life or work, to expect to be guided, to get directions, and to get goals in the process of delving.
1. The importance of metaphor
In the history of human development, a lot of achievements are in the help of metaphor, such as the molecular movement of gas to a "billiard" movement, the Theory of light waves to the sound of the wave propagation, and so on.
Metaphor does not always bring benefits, and sometimes it leads us astray. So how to find the right metaphor to help us achieve our goal is the most important place. This, I think, should also be the focus of this chapter.
2. How to use software metaphors
The author likens the role of metaphor to an enlightening, enlightening process.
And then it took a lot of space to describe the similarities and differences between heuristics and algorithms.
This chapter outlines 6 points of view:
(1) Metaphor is a revelation rather than an algorithm, so they tend to be a bit arbitrary.
(2) Metaphor links the software development process with other activities you are familiar with to help you understand better.
(3) Some metaphors are more appropriate than others.
(4) By comparing the process of building the software to the construction of the rent, we can find that careful preparation is necessary, and there are differences between large-scale projects and small projects.
(5) By comparing the practice of software development to the tool in the Smart Toolbox, we can find that each programmer has a lot of tools, but there is no tool for all the work, and choosing the right tools to adapt to the local conditions is the key to being a programmer with effective programming.
(6) Different metaphors do not repel each other, and should use some combination of metaphors that are most beneficial to you.
Every week must write