Re:Why C++ Sails When the Vasa Sank [pdf]
by redtexture on Monday June 23, 2014 @07:45PM
(#7935446)
Book needed: "C++ the Good Parts"
[ Parent
| on HN ]
Get "Tour of C++", a new book from Bjarne only with modern C++11.
Re:Why C++ Sails When the Vasa Sank [pdf]
by steveklabnik on Monday June 23, 2014 @08:56PM
(#7935674)
Isn't that "Modern C++ Design" by Alexandrescu?
Not quite. I mean, it is an interesting book - functional programming idioms applied to C++ templates which gives you an interesting [generative] techniques applied to several GoF design patterns, but it is not an everyday C++ code you write. I'd say, for general C++ good style, Bjarne's works are more useful. At least, to start with.
It was released years ago: http://www.amazon.com/dp/0131103628
Need a "C++: The Good Parts" compiler (or static analysis front end) that enforces the good parts but your code is a compilable by a C++11 compiler. I've heard some Rosy developers joke that Rust is C++ The Good Parts. :)
Re:Why C++ Sails When the Vasa Sank [pdf]
by humanrebar on Tuesday June 24, 2014 @11:06AM
(#7938150)
The problem is that "The Good Parts" vary from team to team and from domain to domain. One of the strengths of C++ is that it can fill all those needs. This is important because often the problem you start out solving is different than the one you need to solve.
This exist: -Weffc++
http://cpptruths.blogspot.co.uk/2006/08/g-compiler-option-we...