May 2015
Intermediate to advanced
572 pages
9h 52m
English
CHAPTER 1
![]()
Templates
“C++ supports a variety of styles.”
Bjarne Stroustrup, A Perspective on ISO C++
Programming is the process of teaching something to a computer by talking to the machine in one of its common languages. The closer to the machine idiom you go, the less natural the words become.
Each language carries its own expressive power. For any given concept, there is a language where its description is simpler, more concise, and more detailed. In assembler, we have to give an extremely rich and precise description for any (possibly simple) algorithm, and this makes it very hard to read back. On the other hand, the beauty of C++ is that, ...