Hacker News new | ask | show | jobs
by ighost 5971 days ago
I wish someone would publish this "tasteful subset of C++," kind of like Douglas Crockford's Javascript: The Good Parts. Then I could just learn that and skip all the crazy template shit.
2 comments

Check out the Google C++ Style Guide. I'm biased (being a Googler), but I think it leads to pretty nice and readable C++:

http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...

This is fantastic. My main gripe with C++ in non-system code is that there are too many features which complicate the code base and should never be used. This seems like great guidelines and a good subset.
thxu.

Too bad it assumes knowledge of C++. I hope I can still follow it with my limited C++ knowledge.

They did, and it's called "Effective C++". Okay, it's not exactly the same thing. But they both tell you what NOT to do.