严富坤的知识库专栏 本次搜索耗时 0.024 秒,为您找到 539 个相关结果.
  • 迪米特法则

    2043 2024-09-12 《设计模式》
    Question 1: What is the Law of Demeter in software design? 问题 1:什么是软件设计中的迪米特法则? Answer: The Law of Demeter (LoD), also known as the “Principle of Least Knowledge,” is a design...
  • 《梳理》—从混乱到有序

    2039 2024-09-20 《2025年读书笔记》
    深度学习:带着问题和目标学习,开放式提问,MVP法输出 T型人才:知识和技能是有区别的,知识可以通过阅读获得,而技能则必须要实训之后才能获得。 科学的知识和技能体系是什么样的呢?把技能A做到顶尖,同时与A关联紧密的另一门知识B也很了解,而与B相关的技能C也具备……如此关联下去,就是非常合理的体系了。
  • 适配器模式

    2013 2024-09-12 《设计模式》
    Question 1: What is the Adapter pattern in software design? 问题 1:什么是软件设计中的适配器模式? Answer: The Adapter pattern is a structural design pattern that allows two incompatible interf...
  • 组合模式

    1974 2024-09-12 《设计模式》
    Question 1: What is the Composite pattern in software design? 问题 1:什么是软件设计中的组合模式? Answer: The Composite pattern is a structural design pattern that allows individual objects a...
  • CPU为什么能自动化执行?

    1967 2024-10-26 《操作系统原理》
    详细解读 总结 在x86架构中,EIP寄存器 (在现代x86-64中为RIP寄存器 )确实扮演了指向下一条指令的关键角色。它指示了当前CPU要执行的指令地址,每当一条指令执行完毕,EIP的值会自动更新,以指向下一条指令的地址。这个更新机制通常是通过EIP加上当前指令的长度 来实现的。 详细解读 EIP的自增 : 在CPU正常执行一条非...
  • 单例模式

    1966 2024-09-12 《设计模式》
    Question 1: What is the Singleton pattern in software design? 问题 1:什么是软件设计中的单例模式? Answer: The Singleton pattern is a creational design pattern that ensures a class has only on...
  • 享元模式

    1961 2024-09-12 《设计模式》
    Question 1: What is the Flyweight pattern in software design? 问题 1:什么是软件设计中的享元模式? Answer: The Flyweight pattern is a structural design pattern used to minimize memory usage by...
  • 单一职责原则

    1945 2024-09-12 《设计模式》
    Question 1: What is the Single Responsibility Principle (SRP) in software design? 问题 1:什么是软件设计中的单一职责原则(SRP)? Answer: The Single Responsibility Principle (SRP) is one of the SO...
  • 浮动布局

    1939 2024-04-15 《CSS精析》
    一、浮动布局的使用场景 二、浮动的影响 三、清除浮动的三种方式 浮动,的初始初衷不是用来布局页面的,而是用来实现像报纸上图片围绕文字的这种排版效果的……但是,在实际开发中还是经常把浮动用来布局页面 一、浮动布局的使用场景 主要用于在水平方向上实现元素的左对齐或右对齐的方式水平排列。当一个元素设置为浮动后,其后面的兄弟元素会受到影响。因为,...