严富坤的知识库专栏 本次搜索耗时 0.129 秒,为您找到 275 个相关结果.
  • 模板方法模式

    487 2024-09-12 《设计模式》
    Question 1: What is the Template Method pattern in software design? 问题 1:什么是软件设计中的模板方法模式? Answer: The Template Method pattern is a behavioral design pattern that defines the s...
  • 责任链模式

    486 2024-09-12 《设计模式》
    Question 1: What is the Chain of Responsibility pattern in software design? 问题 1:什么是软件设计中的责任链模式? Answer: The Chain of Responsibility pattern is a behavioral design pattern use...
  • 原型模式

    485 2024-09-12 《设计模式》
    Question 1: What is the Prototype pattern in software design? 问题 1:什么是软件设计中的原型模式? Answer: The Prototype pattern is a creational design pattern that allows objects to be copied...
  • 观察者模式

    484 2024-09-12 《设计模式》
    Question 1: What is the Observer pattern in software design? 问题 1:什么是软件设计中的观察者模式? Answer: The Observer pattern is a behavioral design pattern that defines a one-to-many depend...
  • 工厂方法模式

    482 2024-09-12 《设计模式》
    Question 1: What is the Factory Method pattern in software design? 问题 1:什么是软件设计中的工厂方法模式? Answer: The Factory Method pattern is a creational design pattern that defines an inte...
  • 状态模式

    482 2024-09-12 《设计模式》
    Question 1: What is the State pattern in software design? 问题 1:什么是软件设计中的状态模式? Answer: The State pattern is a behavioral design pattern that allows an object to change its beha...
  • 解释器模式

    482 2024-09-12 《设计模式》
    Question 1: What is the Interpreter pattern in software design? 问题 1:什么是软件设计中的解释器模式? Answer: The Interpreter pattern is a behavioral design pattern that provides a way to eval...
  • About meta cognition

    我一直觉得将正确的学习方法或工作流程养成习惯,很多问题就会迎刃而解 翻译:I have always believed that once you develop the habit of using the right learning methods or work processes, many problems will be solved ...
  • TypeScript中的never类型

    1. never 类型的定义 1.1 基本用法 2. never 类型的使用场景 2.1 异常处理 2.2 类型守卫中的穷尽检查 3. never 类型的高级特性 3.1 与联合类型的交互 3.2 作为返回类型的严格性 结论 在TypeScript中,never 类型是一个特殊且高级的类型,表示永不存在的值。它常用于函数永远不会返回(如抛...
  • Vue实例对象与window对象是什么关系?

    一、全局变量与 window 对象的关系 1. 全局变量成为 window 对象的属性的条件 2. 为什么 Vue 实例通常不会成为 window 的属性 二、示例说明 1. Vue 实例不会默认成为 window 的属性 2. 显式地将 Vue 实例赋值给 window 对象 三、总结 四、深入理解 1. 变量声明方式的影响 2....