tag:blogger.com,1999:blog-7101933101966798446.post680247489390974004..comments2024-03-17T08:14:57.577-07:00Comments on The View from Aristeia: The Time Needed to Write Effective Modern C++Scott Meyershttp://www.blogger.com/profile/05280964633768289328noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-7101933101966798446.post-71499528609894318872015-04-24T14:26:10.737-07:002015-04-24T14:26:10.737-07:00@Scott: Fair enough. Just to be clear, I did not ...@Scott: Fair enough. Just to be clear, I did not mean to imply criticism, just curiosity. (Got all the books, and love 'em). <br /><br /> Anonymoushttps://www.blogger.com/profile/01254919523217180099noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-52434391584021971642015-04-23T22:44:28.418-07:002015-04-23T22:44:28.418-07:00@Brian: Effective Modern C++ covers entirely diffe...@Brian: <i>Effective Modern C++</i> covers entirely different material from what's in my other three C++ books (<i>Effective C++</i>, <i>More Effective C++</i>, and <i>Effective STL</i>). Those other books are written for C++98, while <i>Effective Modern C++</i> focuses entirely on features new to C++11 and C++14. The information in <i>Effective C++</i> is just as relevant to modern C++ programming as to C++98 programming, so I suggest you start there, then move on to <i>Effective Modern C++</i>. (For my take on the relevance of <i>Effective C++</i> in the age of C++11, consult <a href="http://scottmeyers.blogspot.com/2011/03/effective-c-in-c0x-c11-age.html" rel="nofollow">this blog post</a>.)Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-64460820443924705722015-04-23T20:27:20.079-07:002015-04-23T20:27:20.079-07:00Does this book make the older ones (Effective C++ ...Does this book make the older ones (Effective C++ and More Effective C++) irrelevant? I am new to C++ and wondering if it would be better to start with this book or the older, Effective C++ (After getting down the basics of course).Briannoreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-316268044584589102015-04-23T09:19:59.721-07:002015-04-23T09:19:59.721-07:00@WallSt Prog: I don't work on any code bases a...@WallSt Prog: I don't work on any code bases at all. In 2006, I wrote the following (taken from <a href="http://www.artima.com/cppsource/top_cpp_books.html" rel="nofollow">this article</a>, which I'd forgotten about until it was cited in the <a href="https://news.ycombinator.com/item?id=9423545" rel="nofollow">Hacker News thread about this post</a>):<br /><i><br />I’ll begin with what many of you will find an unredeemably damning confession: I have not written production software in over 20 years, and I have never written production software in C++. Nope, not ever. Furthermore, I’ve never even tried to write production software in C++, so not only am I not a real C++ developer, I’m not even a wannabe. Counterbalancing this slightly is the fact that I did write research software in C++ during my graduate school years (1985-1993), but even that was small (a few thousand lines) single-developer to-be-thrown-away-quickly stuff. And since striking out as a consultant over a dozen years ago, my C++ programming has been limited to toy “let’s see how this works” (or, sometimes, “let’s see how many compilers this breaks”) programs, typically programs that fit in a single file. (make? Who needs stinkin’ make?) My living is based on C++, but it’s not by virtue of the programs I write in it.<br /></i><br />Nothing has changed since I wrote that, except that even more time has passed since I last wrote production software. Which is why it's reasonable to ask why I think that my advice should carry any weight with people who program for a living.<br /><br />There are two reasons. First, my books try to justify everything they recommend, and they try to present a balanced account of the advantages and disadvantages of the practices I advocate. You should be able to look at my reasoning and, as a professional, evaluate whether it makes sense and is consistent with your experience. Second, I spend a lot of time dealing with professional programmers. I present training courses to them, I exchange email with them, I get into debates with them. When it comes to technical topics, software developers are not shy. If I say something naive or impractical or incomplete or suspicious, they let me know it, and they push back. Hard. I weigh such objections very heavily when I choose and word my Items and when I write up their justifications. The result is that the information in my books has been extensively vetted by people who use C++ every day and who are in a position to evaluate whether it makes sense for purposes of real software development. <br /><br />I am well aware that I don't write production software, and I worry that I will drift away from the interests and constraints of people who do. That's a primary reason I had so many people act as pre-publication reviewers for <i>Effective Modern C++</i>. (There are nearly 30 listed in the book's acknowledgments, and that doesn't count comments that came in through O'Reilly's Early Release program, Safari's Rough Cuts program, and my blog when I posted draft book excerpts.) It's also why I spend as much time as I do maintaining the <a href="http://www.aristeia.com/BookErrata/emc++-errata.html" rel="nofollow">book's errata list</a>. I do my best to come up with what I consider good advice for C++ software development, but I rely on people who use C++ for a living to keep me honest. I don't offer my advice in book form until they've had a chance to make sure my recommendations are grounded in practical reality.Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-70664194333059160762015-04-23T08:45:47.566-07:002015-04-23T08:45:47.566-07:00Olivier L.: I'm glad you found my books useful...Olivier L.: I'm glad you found my books useful. Good luck in your software development career!Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-83236021182174468342015-04-23T08:42:10.423-07:002015-04-23T08:42:10.423-07:00@Delip Rao: I plan to put together a separate blog...@Delip Rao: I plan to put together a separate blog post about publishing options. In that post, I'll discuss my decision to publish EMC++ with O'Reilly instead of with Addision-Wesley (or a different publisher or on my own). I don't know when I'll get to that post, but I'll say right now that the decision wasn't based on having some kind of fundamental problem with AW. I continue to work with them on updates to my books with them, and I continue to act as Consulting Editor for the <a href="http://www.informit.com/imprint/series_detail.aspx?st=61267" rel="nofollow">Effective Software Development Series</a>, which has new books coming out at an increasing rate.Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-73057970985832541712015-04-23T08:36:09.478-07:002015-04-23T08:36:09.478-07:00@Wagnoid: An author's royalty is based on how ...@Wagnoid: An author's royalty is based on how much money the publisher gets for the sale, so I make the most royalty on a book you purchase from O'Reilly at full price. IMO, however, the best way to support an author isn't to avoid discounts when purchasing the book, it's to let people know you like the book and encouraging them to buy it. The royalty on two books at 60% of list price is more than the royalty on one book at 100% of list. <br /><br />Positive reviews at Amazon and elsewhere, postings at various social media sites, and word-of-mouth are all worth more to an author than the royalty on a single book. Encouraging your team lead or department head or VP of Engineering to purchase a copy of a book for everyone on your team or in your department or throughout Engineering is great, too. <br /><br />Thanks very much for your support.Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-68721132037307064162015-04-23T07:22:53.848-07:002015-04-23T07:22:53.848-07:00So , Anon's comment is pretty snarky, but it a...So , Anon's comment is pretty snarky, but it asks a legitimate question, and one I puzzle over -- where does one get the code base(s) to investigate and evaluate particular techniques, new constructs, etc?<br /><br />I'm fortunate in that I'm responsible for a couple of fairly large real-world code bases that I'm pretty familiar with, and that give me a "proving ground" as I'm looking to adopt new/better approaches. <br /><br />It would be interesting to know if there are any code bases that you work with as you're putting together your books and articles.<br /><br />Thanks!Anonymoushttps://www.blogger.com/profile/01254919523217180099noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-55167121687630288702015-04-23T06:33:33.465-07:002015-04-23T06:33:33.465-07:00The book is great.
It was also quite necessary. C...The book is great.<br /><br />It was also quite necessary. C++11 and C++14 require to learn and clarify several concepts.<br /><br />Effective C++ collection are my C++ favorite books.<br /><br />I allways recomend them to all programmers.<br /><br />thanksjose luishttps://www.blogger.com/profile/05970962599679758460noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-25977338414599080732015-04-23T05:01:20.805-07:002015-04-23T05:01:20.805-07:00Thank you very much for your great work! As a rece...Thank you very much for your great work! As a recent grad wanting to work in C++ your books were indispensable!Olivier L.noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-36713140255718507832015-04-22T23:47:44.766-07:002015-04-22T23:47:44.766-07:00This is awesome! Can you tell us a little about yo...This is awesome! Can you tell us a little about your experience with O'Reilly as a publisher vs. others? What made you choose them now?Delip Raohttps://www.blogger.com/profile/17504663683160693696noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-45566668496072912442015-04-22T22:49:41.028-07:002015-04-22T22:49:41.028-07:00I think what @Watmough was trying to ask was "...I think what @Watmough was trying to ask was "what is the best way of purchasing a book like yours to most benefit the author?"<br /><br />If not, I'd like to know for myself since I appreciate all the work involved and want to help people like you make a living off of it.<br /><br />Thanks!Wagnoidnoreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-25520379869767974662015-04-22T20:27:02.170-07:002015-04-22T20:27:02.170-07:00@Watmough: The best way to buy depends on what you...@Watmough: The best way to buy depends on what you're looking for. O'Reilly typically has coupon codes floating around for 40% off the print book and 50% of the digital versions. (Search around for them--I don't know them off hand.) Amazon also sells the print book and the Kindle version. Whether they're cheaper than O'Reilly, I don't know, but their Kindle version ties you to Kindle; O'Reilly digital files are device-independent (DRM-free). If you want both the print and digital versions (which I personally think is most convenient--I use both), I think you're probably best off buying both from O'Reilly, but be sure to get both coupon codes, because that's cheaper than their nicely-discounted print+digital bundle. <br /><br />I'm sure other places sell the books, too. Perhaps other people can comment on what they view as the best way to buy the book. I don't have to buy them, so I'm not necessarily up on the cheapest (legal) ways to do it. (It's a perk: work for 1350 hours, get a free book!)Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-24002923350438639392015-04-22T20:03:53.884-07:002015-04-22T20:03:53.884-07:00Scott, I'll go ahead and buy this (as I own an...Scott, I'll go ahead and buy this (as I own and read your awesome Effective and More Effective C++ books) though these days I mostly try and avoid writing new C++ code, in favor of Javascript and plain old C.<br />What's the best way to buy it from your perspective?<br />Best Wishes,<br />JonathanWatmoughhttps://www.blogger.com/profile/14366551586314984355noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-36026788398768962932015-04-22T19:57:02.806-07:002015-04-22T19:57:02.806-07:00@greg7mdp: Thanks for your kind words. I'm gla...@greg7mdp: Thanks for your kind words. I'm glad you like the book.Scott Meyershttps://www.blogger.com/profile/05280964633768289328noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-23538735372777014622015-04-22T19:48:00.601-07:002015-04-22T19:48:00.601-07:00Here's an idea on how to make your book actual...Here's an idea on how to make your book actually relevant: try creating a large scale project with all the 'clever' techniques you're so fond of and let us know how it works out for you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-22021468804760710942015-04-22T18:27:04.132-07:002015-04-22T18:27:04.132-07:00Well, I'm about 2/3 through your book, and I c...Well, I'm about 2/3 through your book, and I can testify that your effort was well worth it. The book is pure gold. It provides true insights, which are hard to come by, and I'm very much enjoying it (I'm also having a good time improving my code). Thank you for your making the C++ world a better place.greg7mdphttps://www.blogger.com/profile/05630977870796732843noreply@blogger.comtag:blogger.com,1999:blog-7101933101966798446.post-21041102857767234242015-04-22T14:57:18.866-07:002015-04-22T14:57:18.866-07:00Oh, I didn't know it was time to start writing...Oh, I didn't know it was time to start writing Rust.Anonymousnoreply@blogger.com