Explore chapters and articles related to this topic
GNSSer: objected-oriented and design pattern-based software for GNSS data parallel processing
Published in Journal of Spatial Science, 2021
Linyang Li, Zhiping Lu, Zhengsheng Chen, Yang Cui, Dashuang Sun, Yupu Wang, Yingcai Kuang, Fangchao Wang
Thirdly, there is the Liskov substitution principle (LSP), which states that if a program module is using a base class, then the reference to the base class can be replaced with a derived class without affecting the functionality of the program module. This principle is the foundation of OCP. The base class type is used to define the object as far as possible, while the type of the derived class is determined at runtime and the parent class object is replaced with the derived class object.