💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 第2章 用隐喻来更充分的理解软件开发   ### 中文要点: - 隐喻是启示而不是算法.因此它们往往有一点随意(sloopy). - 隐喻把软件开发过程与其他你熟悉的活动联系在一起,帮助你更好的理解. - 有些隐喻比其他一些隐喻更贴切. - 通过把软件的构建过程比作是房屋的建设过程,我们可以发现,仔细的准备是必要的,而大型项目和小型项目之间也是有差别的。 - 通过把软件开发中的实践比作是智慧工具箱中的工具,我们又发现,每位程序员都有许多工具,但并不存在任何一个能适用于所有工作的工具,因地制宜的选择正确工具是成为能有效编程的程序员的关键。不同的隐喻彼此并不排斥,应当使用对你最有益处的某种隐喻组合。 ### English Key Points: - Metaphors are heuristics, not algorithms. As such, they tend to be a little sloppy. - Metaphors help you understand the software-development process by relating it to other activities you already know about. - Some metaphors are better than others. - Treating software construction as similar to building construction suggests that careful preparation is needed and illuminates the difference between large and small projects. E Thinking of software-development practices as tools in an intellectual toolbox suggests further that every programmer has many tools and that no single tool is right for every job. Choosing the right tool for each problem is one key to being an effective programmer.