Object-Oriented Programming
Object-oriented programming (OOP) is a fundamental programming paradigm. DolphinDB introduces class on the basis of DolphinScript, thereby implementing object-oriented programming. OOP has advantages such as modularity, abstraction, code reuse, and maintainability. It effectively enhances code readability and maintainability by utilizing features such as inheritance, polymorphism, and encapsulation, thereby reducing the maintenance cost of complex business logic.