技术栈

software-engineering

在未来等你
21 天前
java·oop·object-oriented-programming·design-patterns·software-engineering·adapter-pattern·design-pattern-day6
设计模式精讲 Day 6:适配器模式(Adapter Pattern)【设计模式精讲 Day 6】适配器模式(Adapter Pattern)在“设计模式精讲”系列的第6天,我们将深入讲解适配器模式(Adapter Pattern)。作为结构型设计模式之一,适配器模式的核心思想是将一个类的接口转换成客户期望的另一个接口,使得原本不兼容的类可以协同工作。
在未来等你
21 天前
java·oop·object-oriented-programming·design-patterns·software-engineering·design-pattern-day5·prototype-pattern
设计模式精讲 Day 5:原型模式(Prototype Pattern)【设计模式精讲 Day 5】原型模式(Prototype Pattern)在“设计模式精讲”系列的第5天,我们将深入讲解原型模式(Prototype Pattern)。作为创建型设计模式之一,原型模式通过复制已有对象来创建新对象,避免了重复初始化和构造过程,提升了系统性能和灵活性。