V2EX  ›  英汉词典

Design Pattern

释义 Definition

design pattern设计模式;在软件工程与系统设计中,指一类可复用的通用解决方案模板,用于解决在特定情境下反复出现的设计问题(强调“思路/结构”,而不是具体代码实现)。在其他领域(如建筑、产品设计)也可泛指“常用的设计套路/范式”。

发音 Pronunciation (IPA)

/dɪˈzaɪn ˈpætərn/

例句 Examples

We used the Singleton design pattern to manage one shared configuration.
我们使用单例设计模式来管理一个共享的配置。

Although the design pattern improves maintainability, using it everywhere can make the code harder to understand.
尽管这种设计模式能提高可维护性,但到处滥用反而会让代码更难理解。

词源 Etymology

design(设计)+ pattern(模式/范式)。pattern 原指“图案、样式、模板”,引申为“可重复的结构”。“design pattern”在软件语境中流行起来,主要与 1990 年代面向对象设计的发展有关,用来概括一套可复用的设计经验。

相关词 Related Words

文学与作品 Literary Works

  • Design Patterns: Elements of Reusable Object-Oriented Software(Gamma, Helm, Johnson, Vlissides,“四人帮/GoF”)
  • Head First Design Patterns(Freeman & Robson)
  • Patterns of Enterprise Application Architecture(Martin Fowler)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2121 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 04:43 · PVG 12:43 · LAX 20:43 · JFK 23:43
♥ Do have faith in what you're doing.