Home > Back-end >  The logic of c
The logic of c

Time:12-29

98 from c + +, c + + 11, to c + + 20, OOP, template, smart Pointers, modules, coroutine...

To write a c + + mental burden is too heavy, how c + + and profound, not c + + fault, is most people's mental and energy is not enough to easily manage performance, elegant, full, why? The purpose of this and a programming language and the historical evolution,

Started as a support object-oriented c + + c, and completely compatible with c and founded, c is the purpose of the invention is used to write equipment application and operating system (invention c because of written in assembly language Unix too troublesome, then the author of the c and Unix c language invented), and therefore c programmers need to know the bottom requirements, this requirement completely inherited by c + +, c + + concept is to provide a better language features to build large programs, but not deprive the programmer control again at the same time, this kind of control, what does that mean? Is a c + + programmers to write good programs, to a certain extent will need to understand the characteristics of c + + is very behind principle, otherwise, the written procedures may be out of control,

Currently only c/c + +, on the other hand, can provide this kind of ability, it is its historical burden and he must bear the responsibility, it's like state, political responsibility, have social responsibility, has responsibility of national defense, economic responsibility, innovation, responsibility,

And other programming languages, Java, python, go, c #, they have their own philosophy, and has a common feature, is I'm not used to write program equipment, are not used to write operating system, do not need to bear the responsibility, you just need to focus on their areas, including the complexity of the sealed in the form of black box faster and easier for programmers to build his system, as is a private enterprise, the process how simple how to, how to how high efficiency,

People like most: you give me the answer directly;
Second love: you give me a few choice;
The last is: you give me all the materials and all the secrets, I myself to think about the design and implementation,
C + + is a final choice,
But like c + + programmers, is destined to be few, enjoy the lonely people,

CodePudding user response:

Sofa,,,
Didn't enjoy the feeling of loneliness, martial arts all over the world, all roads lead to Rome,,,

CodePudding user response:

The good is because you forget to C, C + + are hard

CodePudding user response:

Because C and C + + is a universal language, and Java, Python, it is not common language, common language is not the optimal solution, he will teach you all kinds of methods, and then choose, Python, etc. The common language is not the same, is to let them directly to the optimal solution for you, perhaps this is the charm of language.

CodePudding user response:

  • Related