In-depth understanding of the c++ object model (1) - background introduction

Why do you want to update this series

I am a c++ programmer who was born halfway. Before writing c++ programs, I have been doing the development of python and nodejs. When doing the development of these languages, I think more about how to realize the functions. When I was young, when I first started writing code, when I didn’t understand the underlying principles now, I paid more attention to the grammar of the language itself, how to make the program not report errors, so naturally there were not so many questions at that time, such as: function How is it called? What is the essence of type? How are programs translated? What is the logic behind the computer...

But when I entered the current company for an internship, my cognition changed drastically. The ultimate reason is: the language I use is C++, a very "powerful" language...

Of course, I also learned c++ in the middle of the university. The time point was probably the first semester of my freshman year. At that time, I thought that c++ was a very boring language. Without the front-end three swordsmen, it would be very exciting, and the dark command line operation The interface and the ancient syntax make me feel that if I become a programmer in the future, I will definitely not engage in this language, because it is too boring... and it is really low-level, and the daily operations are pointers, etc., which I did not understand at the time concept, so I went all the way north and started my python and js life.

Because I am a relatively strong person, in the field I am engaged in, I will never allow myself to be an outsider who knows nothing. In October 21, I started to learn C++ again. During this journey of study, many people are helping me, including my tutor and my colleagues. They will recommend many books worth learning to me, and I will read them one by one. "In-depth understanding of the c++ object model" is one of the books, and it is also a book that I still don't feel familiar enough after reading it twice. The translator of this book is Mr. Hou Jie from Taiwan, a very famous C++ teacher. I have always liked his teaching style and book style. In particular, that sentence can be called the motto of programmers: before the source code, there are no secrets. In order to achieve a better understanding of yourself. So I am going to use my own understanding to explain this book and related derivative content.

Guess you like

Origin blog.csdn.net/gaoyanwangxin/article/details/128315362