当前位置:网站首页>On the open and closed principle
On the open and closed principle
2022-07-24 22:28:00 【ima_ zhan】
Look at a passage from the design pattern , I think it's good to write it down , Do more verification in the future .
to open up - Closed principle , Is the core of object-oriented programming . Following this principle can bring the huge benefits claimed by object-oriented technology , It's maintainable 、 Scalable 、 Reusable 、 Flexibility . Developers should abstract only those parts of the program that show numerous changes , However, it is also not a good idea to deliberately abstract every part of the program .
Rejecting immature abstraction is just as important as abstraction itself .
边栏推荐
猜你喜欢
随机推荐
QT learning vs creating QT items shows instances where object references are not set to objects
在机器人行业的专业人士眼里,机器人行业目前的情况如何?
AVL tree of ordered table
In the eyes of professionals in the robot industry, what is the current situation of the robot industry?
Filter list
Error connecting MySQL database with kettle
Kubernetes v1.24 is deployed based on containerd
Pyqt5 uses qfile and qdatastream to read and write binary files
Leetcode 102. sequence traversal of binary tree
From A76 to A78 -- learning arm microarchitecture in change
PCL点云处理之均匀采样抽稀(六十一)
工程项目管理软件排名
有序表之AVL树
Archsummit: evolution of the underlying framework of cherished microservices
Monotonic stack structure
ACL 2022 | comparative learning based on optimal transmission to achieve interpretable semantic text similarity
Gradle learning - gradle advanced instructions
Win10 solution Base64
"Fundamentals of program design" Chapter 10 function and program structure 6-13 divide and conquer method to solve the gold bullion problem (20 points)
Web3安全 Go+Security









