Editorial Reviews. From the Back Cover. Consistent, high-quality coding standards improve In-Depth Series) eBook: Andrei Alexandrescu, Herb Sutter: Kindle Store. Effective Modern C++: 42 Specific Ways to Improve Your Use of C ++ Consistent, high-quality coding standards improve software quality, reduce time- to-market, promote teamwork, eliminate by Andrei Alexandrescu, Herb Sutter. Consistent, high-quality coding standards improve software quality, reduce by Herb Sutter, Andrei Alexandrescu . Computer Programming In C Language.

Author: Tukree Kajilmaran
Country: Congo
Language: English (Spanish)
Genre: Career
Published (Last): 26 April 2012
Pages: 413
PDF File Size: 9.30 Mb
ePub File Size: 10.34 Mb
ISBN: 409-7-58657-810-1
Downloads: 70927
Price: Free* [*Free Regsitration Required]
Uploader: Visar

In these times, where code reviews are part of our daily activity, being aligned and focused makes the job more easy.

Stay ahead with the world’s most comprehensive technology and business learning platform. Prefer compile- and link-time errors to run-time errors alexandrescy However, this book really shines because it tells you the caveat and tells how what to look out for if you do decide to implement the design. Preserve natural semantics for overloaded operators. Destructors, deallocation, and swap never fail. Use vector by default. Inherit, not to reuse, but to be reused.


Avoid allocating and deallocating memory in different modules. Know what not to standardize. Otherwise, choose an appropriate container. Better, Faster, Lighter Java.

Andrei Alexandrescu | C++ Europe Conference

Never write zlexandrescu include guards. Distinguish between errors and non-errors Avoid deep nesting Prefer algorithm calls to handwritten loops Students, buy or rent this eText. Reflects choices, some that may fit your project and some that may not, so best used as a list of possible guidelines.

Ensure resources are owned by objects. Preserve natural semantics for overloaded operators Copy and destroy consistently. The Art of Concurrency. Consistent, high-quality coding standards improve software quality, reduce time-to-market, promote teamwork, eliminate time wasted on inconsequential matters, and simplify maintenance. Amazon Music Stream millions of songs.

C++ Coding Standards – Book Home Page

Prefer initialization to assignment in constructors. Always provide new and delete together Consider overloading to avoid implicit type conversions. Know when and how to code for concurrency. Whenever it alxeandrescu sense, provide a no-fail swap and provide it correctly.

  CA 540EZ PDF

C++ Coding Standards: 101 Rules, Guidelines, and Best Practices

When should you provide a no-fail swap? Prefer minimal classes to monolithic classes.

Avoid type switching; prefer polymorphism Learn More at ragingbull. Ask New Question Sign In. Why and how should you prevent exceptions from propagating across module boundaries?

Don’t specialize function templates. So, choice and decision would be involved before using these C Programming for Beginners: Avoid exception specifications STL: AmazonGlobal Ship Andrel Internationally. How do you practice “safe” overriding? Use the right STL sort algorithm Copy and destroy consistently Prefer writing nonmember nonfriend functions.