设计原则与思想:设计原则(上) 发布于 Mon 2022.8.15 设计原则(上) 理论一:对于单一职责原则,如何判定某个类的职责是否够“单一”? **SOLID 原则——单一职责原则、开闭原则、里式替换原则、接口隔离原则和依
设计原则与思想:面向对象(下) 发布于 Sun 2022.8.14 面向对象思想实战 业务开发常用的基于贫血模型的MVC架构违背OOP吗? MVC架构代码分析 ////////// Controller+VO(View Object) ////////// public class UserController { private UserService userService; //通过构造函数或者IOC框架注
设计原则与思想:面向对象(中) 发布于 Fri 2022.8.12 设计原则与思想:面向对象(中) 理论五:接口vs抽象类的区别?如何用普通的类模拟抽象类和接口? 抽象类 抽象类不允许被实例化,只能被继承。也就是说
设计原则与思想:面向对象(上) 发布于 Thu 2022.8.11 设计原则与思想:面向对象(上) 理论一:当谈论面向对象的时候,我们到底在谈论什么? 面向对象编程是一种编程范式或编程风格。它以类或对象作为组织代
CV_14生成模型(下) 发布于 Thu 2022.8.11 生成模型GAN 问题:希望从训练样本中采集新数据,但是样本分布往往维度高且十分复杂,难以直接实现 解决:对简单分布采样并且学习一种映射将其变换到