严富坤的知识库专栏 本次搜索耗时 0.159 秒,为您找到 324 个相关结果.
  • 状态模式

    1100 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...
  • 解释器模式

    1100 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...
  • 接口

    1. 什么是接口? 2. 接口的基本用法 2.1 定义接口 2.2 可选属性 2.3 只读属性 2.4 函数类型 2.5 索引签名 2.6 类类型 3. 高级接口特性 3.1 继承接口 3.2 混合类型 3.3 接口和类的实现 4. 实际应用中的接口 4.1 定义API请求和响应 4.2 配置对象 4.3 第三方库的类型定义 ...
  • 观察者模式

    1094 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...
  • 模板方法模式

    1090 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...
  • 访问者模式

    1089 2024-09-12 《设计模式》
    Question 1: What is the Visitor pattern in software design? 问题 1:什么是软件设计中的访问者模式? Answer: The Visitor pattern is a behavioral design pattern that allows you to add further oper...
  • 原型模式

    1087 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...
  • 备忘录模式

    1085 2024-09-12 《设计模式》
    Question 1: What is the Memento pattern in software design? 问题 1:什么是软件设计中的备忘录模式? Answer: The Memento pattern is a behavioral design pattern that allows an object to capture an...
  • 门面模式

    1081 2024-09-12 《设计模式》
    Question 1: What is the Facade pattern in software design? 问题 1:什么是软件设计中的门面模式? Answer: The Facade pattern is a structural design pattern that provides a simplified interface t...
  • Vue实例对象与window对象是什么关系?

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