严富坤的知识库专栏 本次搜索耗时 0.021 秒,为您找到 482 个相关结果.
  • 策略模式

    936 2024-09-12 《设计模式》
    Question 1: What is the Strategy pattern in software design? 问题 1:什么是软件设计中的策略模式? Answer: The Strategy pattern is a behavioral design pattern that defines a family of algorithm...
  • 状态模式

    936 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...
  • 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 ...
  • 门面模式

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

    933 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...
  • 责任链模式

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

    930 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...
  • 工厂方法模式

    929 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...
  • 迭代器模式

    926 2024-09-12 《设计模式》
    Question 1: What is the Iterator pattern in software design? 问题 1:什么是软件设计中的迭代器模式? Answer: The Iterator pattern is a behavioral design pattern that provides a way to access ele...
  • TypeScript中的never类型

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