{"product_id":"9780132654425","title":"C++ Coding Standards: 101 Rules, Guidelines, and Best Practices","description":"\u003cp\u003eConsistent, high-quality coding standards improve software quality, reduce time-to-market, promote teamwork, eliminate time wasted on inconsequential matters, and simplify maintenance. Now, two of the world's most respected C++ experts distill the rich collective experience of the global C++ community into a set of coding standards that every developer and development team can understand and use as a basis for their own coding standards. \u003c\/p\u003e \u003cp\u003eThe authors cover virtually every facet of C++ programming: design and coding style, functions, operators, class design, inheritance, construction\/destruction, copying, assignment, namespaces, modules, templates, genericity, exceptions, STL containers and algorithms, and more. Each standard is described concisely, with practical examples. From type definition to error handling, this book presents C++ best practices, including some that have only recently been identified and standardized-techniques you may not know even if you've used C++ for years. Along the way, you'll find answers to questions like \u003c\/p\u003e \u003cul\u003e \u003cli\u003eWhat's worth standardizing--and what isn't? \u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhat are the best ways to code for scalability?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhat are the elements of a rational error handling policy? \u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eHow (and why) do you avoid unnecessary initialization, cyclic, and definitional dependencies?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhen (and how) should you use static and dynamic polymorphism together?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eHow do you practice \"safe\" overriding?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhen should you provide a no-fail swap? \u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhy and how should you prevent exceptions from propagating across module boundaries?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhy shouldn't you write namespace declarations or directives in a header file?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhy should you use STL vector and string instead of arrays?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eHow do you choose the right STL search or sort algorithm?\u003c\/li\u003e \u003c\/ul\u003e \u003cul\u003e \u003cli\u003eWhat rules should you follow to ensure type-safe code?\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003eWhether you're working alone or with others, \u003ci\u003e \u003cb\u003eC++ Coding Standards\u003c\/b\u003e \u003c\/i\u003e will help you write cleaner code--and write it faster, with fewer hassles and less frustration.\u003c\/p\u003e \u003cbr\u003e \u003cbr\u003e","brand":"Pearson Education","offers":[{"title":"Default Title","offer_id":47175982252272,"sku":"9780132654425","price":44.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9780132654425_p0.jpg?v=1763641029","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9780132654425","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}