Download More Exceptional C++ PDF Book by Herb Sutter. Soft Copy of Book More Exceptional C++ author Herb Sutter completely free.
Reviews of : More Exceptional C++ by Herb Sutter PDF Book
Inside this Book – This section also highlights some useful techniques, as well as pitfalls, that occur when writing generic code of your own, including code that’s meant to work with and extend the STL. What kinds of predicates are safe to use with the STL; what kinds aren’t, and why? What techniques are available for writing powerful generic template code that can change its own behavior based on the capabilities of the types it’s given to work with? How can you switch easily between different kinds of input and output streams? How does template specialization and overloading work? And what’s with this funny typename keyword, anyway?
Inside this book –More Exceptional C++ PDF Book by Herb Sutter – Avoid writing code that solves only the immediate problem. Writing an extensible solution is almost always better—as long as we don’t go overboard, of course. Balanced judgment is one hallmark of the experienced programmer. In particular, experienced programmers understand how to strike the right balance between writing special-purpose code that solves only the immediate problem (shortsighted, hard to extend) and writing a grandiose general framework to solve what should be a simple problem (rabid overdesign). Compared with the approach in Example 1-1, Method A has about the same overall complexity but it’s easier to understand and more extensible, to boot. Compared with Method B, Method A is at once simpler and more flexible; it is more adaptable to new situations because it avoids being hardwired to work with the iostreams hierarchy only.
More Exceptional C++ by Herb Sutter PDF : eBook Information
- Full Book Name – More Exceptional C++
- Author of this Book – Herb Sutter
- Language – English
- Book Genre – Programming, Reference, Computer ebook, Technical, Computer Science, C++
- Download Format – PDF
- Size – 1.17 MB
- eBook Pages –234
- Price – Free