ForC ++ design goalsAndPrinciples.
I. Design objectives of C ++ (C ++ Design Aims)
The objective of C ++ is to make C ++ adaptive and efficient as a C language suitable for system programming, it can also have language facilities like Simula in terms of its program organizational structure (the program organizational structure supported by Simula is often referred to as an object-oriented programming style ). During the design, great efforts were made to make it possible to apply the high-level programming technology introduced from Simula to system programming. That is to say, the abstract mechanism provided by C ++ can be applied to programming tasks with high requirements on efficiency and adaptability.
The above C ++ design goals can be summarized as follows:
For programmers who want to solve practical problems, C ++ makes programming more fun. C ++ is a general purpose programming language, which:
Is a better C;
Supports data abstraction;
Supports object-oriented programming;
Supports model programming.
The support for model programming is implemented as a clear and independent goal only after the C ++ design stage. For most of the time in the C ++ evolution process, I have always put the norm programming and language features that support it under the title of "data abstraction.