3 ms·
The author explains why in the first chapter^: > The goal of this book is not to teach you C++. The samples are kept as simple as possible and don’t represent
by 1f60c 4y ago
The author explains why in the first chapter^:
> The goal of this book is not to teach you C++. The samples are kept as simple as possible and don’t represent good C++ style or usage. Read the code samples for the idea being expressed, not the code expressing it.
>
> In particular, the code is not written in “modern” — C++11 or newer — style. It does not use the standard library and rarely uses templates. This makes for “bad” C++ code, but I hope that by keeping it stripped down, it will be more approachable to people coming from C, Objective-C, Java, and other languages.
^ https://gameprogrammingpatterns.com/introduction.html#about-the-sample-code https://gameprogrammingpatterns.com/introduction.html#about-...