3 ms·
Much of C++ made more sense to me when I read Inside the C++ Object Model by Stanley Lippman[1]. It helped me internalize the fact that C++ was originally imple
by twoodfin 13y ago
Much of C++ made more sense to me when I read Inside the C++ Object Model by Stanley Lippman[1]. It helped me internalize the fact that C++ was originally implemented as a preprocessor transformation into C (Stroustrup's Cfront). Thus many C++ mechanisms can be understood as elaborate syntactic sugar.
[1] http://www.amazon.com/Inside-Object-Model-Stanley-Lippman/dp/0201834545 http://www.amazon.com/Inside-Object-Model-Stanley-Lippman/dp...
- pjmlp 13y agoAnother good read are The Annotated C++ Reference Manual[1] and The Design and Evolution of C++[1]. They help understand all design compromises that were done to keep compatibility with C, which is was part of what brought C++ into the mainstream, but also the main cause of many of its warts. [1] http://www.amazon.com/The-Annotated-C-Reference-Manual/dp/0201514591 http://www.amazon.com/The-Annotated-C-Reference-Manual/dp/02... [2] http://www.amazon.com/The-Design-Evolution-Bjarne-Stroustrup/dp/0201543303 http://www.amazon.com/The-Design-Evolution-Bjarne-Stroustrup...
- signa11 13y ago> Another good read are The Annotated C++ Reference Manual[1] and The Design and Evolution of C++[1]. Annotated C++ Reference Manual as well as D&E is severely dated. Quite a while back there was some talk of stroustrup co-authoring a revision of the reference-manual with andrew-koenig, but it never came to fruition...
- pjmlp 13y agoThat is true, but the point here is to learn how C++ got designed in first place, you can't update that.