Would you buy this C++ book? Please help shape its structure and contents
1–10 of 16 posts
Re: Would you buy this C++ book? Please help shape its structure and contents
#2http://meta.stackoverflow.com/questions/68647/setting-up-a-f...
http://stackoverflow.com/tags/c%2b%2b-faq/info
http://stackoverflow.com/questions/388242/the-definitive-c-b...
NOTE: I am not sure I would buy it, but I might read it!
Re: Would you buy this C++ book? Please help shape its structure and contents
#3http://lib.store.yahoo.net/lib/paulgraham/onlisp.pdf
What I am suggesting is that a section on compiler warnings is just stamp collecting. The reader still needs to RTFM. Same with source control and development servers. At best these are items for an appendix or end notes. Don't drag the reader through context unless you are writing a textbook - and even then, don't.
I guess the tl;dr is that the table of contents looks longer than necessary for a book which has a thesis about design. Respect the fact that your readers will work out the implementation for themselves. Save "Use const wherever possible" for the supporting blog.
Edit away everything that is unnecessary, as I have not done with this comment. Do you really have something objectively important to say about namespaces, or are you just expressing an opinion based upon your preference? And even if you do have something important to say, about namespaces, is it something that a professional developer can integrate into their existing workflow without horrible disruption?
What is the MVB?
Good Luck
Re: Would you buy this C++ book? Please help shape its structure and contents
#4As authors we need to understand that aspiring programmers have the whole web, where easy to read blogs and article surface on a daily basis. Paper books are more of an impulse buy than a self-education commitment. Books are too monotonous and incomplete to compete with the web.
That said, I will be honest and say that I will not buy this book. I will just Google for topics, read a book like Learn * the Hard Way [2] or take one of the Coursera courses [3] to get started. I would encourage you to find new ways to delivering study materials (through video for instance) than just writing a book -- which I personally think is a disruption waiting to happen.
On the other hand, if you succeed in writing a book like [4], then things are different -- you are explaining programming and not a language (syntax, features and caveats).
Good luck!
[1] http://en.cppreference.com/w/cpp/language/lambda
[2] http://learnpythonthehardway.org/
[3] https://www.coursera.org/course/cplusplus4c
[4] http://mitpress.mit.edu/sicp/Re: Would you buy this C++ book? Please help shape its structure and contents
#5You've got two sections, guidelines and design ideas. I would probably get the most value out of the design ideas section, as learning new patterns to do things well is always handy.
But the guidelines section you're going to have to be a lot more careful. Most C++ advice books are targeted at beginners for a good reason, everyone has an opinion about how to write C++ best and they are rarely well supported. I would expect advice intended to be taken seriously by professionals to come with specific real world examples of how it addressed a reliability problem in a largish project, not just an expert author's say-so.
If you could actually collect that, it would be incredibly useful. You could even give it a nice inflammatory title like "n C++ mistakes that have wrecked projects"
Re: Would you buy this C++ book? Please help shape its structure and contents
#6Re: Would you buy this C++ book? Please help shape its structure and contents
#7Step 2: ???????????????????
Step 3: Profit $$$$$$$
like there aren't 100 Cpp books already available that would cover the topics in far more detail than this ever would.
Re: Would you buy this C++ book? Please help shape its structure and contents
#8Re: Would you buy this C++ book? Please help shape its structure and contents
#9For ch9, it's like a C++ version of the Goetz book... you should make the same point: people shouldn't write their own thread pools. Also make a point about ownership transfer when posting to a pool: just don't share any data.
Re: Would you buy this C++ book? Please help shape its structure and contents
#10Quite frankly, I don't understand why people write encyclopedia sized books for CS topics. Firstly, the relevant themes change very quickly. Second, nobody has the time to read a 1000 page book, where one topic just follows the other. Third, after reading the whole book one might realize -- oh how do I use lambda's in C++[1], a new feature introduced recently? If people are buying books to learn lambdas, your entire…