Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Hands-On Design Patterns with C++

Posted By: TiranaDok
Hands-On Design Patterns with C++

Hands-On Design Patterns with C++: Solve common C++ problems with modern design patterns and build robust applications, 2nd Edition by Fedor G. Pikus
English | July 21, 2023 | ISBN: 1804611557 | 627 pages | EPUB | 5.85 Mb

A comprehensive guide with extensive coverage of concepts such as OOP, functional programming, generic programming, concurrency, and STL along with the latest features of C++
Key Features
  • Delve into the core patterns and components of C++ to master application design
  • Learn tricks, techniques, and best practices to solve common design and architectural challenges
  • Understand the limitation imposed by C++ and how to solve them using design patterns
Book Description
C++ is a general-purpose programming language designed for efficiency, performance, and flexibility. Design patterns are commonly accepted solutions to well-recognized design problems. In essence, they are a library of reusable components, only for software architecture, and not for a concrete implementation.
This book helps you focus on the design patterns that naturally adapt to your needs, and on the patterns that uniquely benefit from the features of C++. Armed with the knowledge of these patterns, you’ll spend less time searching for solutions to common problems and tackle challenges with the solutions developed from experience. You’ll also explore that design patterns are a concise and efficient way to communicate, as patterns are a familiar and recognizable solution to a specific problem and can convey a considerable amount of information with a single line of code.
By the end of this book, you’ll have a deep understanding of how to use design patterns to write maintainable, robust, and reusable software.
What you will learn
  • Recognize the most common design patterns used in C++
  • Understand how to use C++ generic programming to solve common design problems
  • Explore the most powerful C++ idioms, their strengths, and their drawbacks
  • Rediscover how to use popular C++ idioms with generic programming
  • Discover new patterns and idioms made possible by language features of C++17 and C++20
  • Understand the impact of design patterns on the program’s performance
Who this book is for
This book is for experienced C++ developers and programmers who wish to learn about software design patterns and principles and apply them to create robust, reusable, and easily maintainable programs and software systems.
Table of Contents
  • An Introduction to Inheritance and Polymorphism
  • Class and Function Templates
  • Memory and Ownership
  • Swap – From Simple to Subtle
  • A Comprehensive Look at RAII
  • Understanding Type Erasure
  • SFINAE, Concepts, and Overload Resolution Management
  • The Curiously Recurring Template Pattern
  • Named Arguments, Method Chaining, and Builder Pattern
  • Local Buffer Optimization
  • ScopeGuard
  • Friend Factory
  • Virtual Constructors and Factories
  • Template pattern and NonVirtual idiom
  • Singleton - A Classic OOP Pattern
  • Policy-Based Design
  • The Visitor Pattern and Multiple Dispatch
  • Adapters and Decorators