2 ms·
The book "The Design and Evolution of C++" helps one understand why some things are the way they are As I've said quite recently elsewhere, C++ is an archaeolo
by stcredzero 8y ago
The book "The Design and Evolution of C++" helps one understand why some things are the way they are
As I've said quite recently elsewhere, C++ is an archaeological dig of a language. There are something like 4 major strata. If you would learn and use C++, it behooves you to pick a particular style, then stick to that. (RAII and smart pointers are very useful!)
There's something called the Taligent coding standards, which were once popular, then later castigated as turning C++ into "a poor man's Smalltalk." Small teams can write some dandy code using that style. Everything can fall apart at scale, however.
(EDIT: Here's an example from elsewhere in these comments: https://news.ycombinator.com/item?id=17463569 https://news.ycombinator.com/item?id=17463569 )