Hands-On Design Patterns with C++: Master the Design Patterns to create robust, reusable and easily maintainable apps (C++ 設計模式實戰:掌握設計模式,打造穩健、可重用且易於維護的應用程式)

Fedor G Pikus

買這商品的人也買了...

相關主題

商品描述

This guide will amplify your knowledge and simplify your journey through the world of design patterns

Key Features

  • Delve into the core patterns and components of C++ in order to master application design,
  • Learn tricks, techniques, and best practices to solve common design and architectural challenges,
  • Build high-performing applications by optimizing components

Book Description

C++ is a general-purpose programming language built with a bias towards embedded programming and systems programming. Design patterns are, in essence, a library of reusable components, only for software architecture, not for a concrete implementation.

With this book, we will teach you how to recognize and apply some of the most common C++ design patterns and idioms. We will focus on the design patterns that naturally lend themselves to the needs of a C++ programmer and fit well with the language's features. Armed with the knowledge of these patterns, you will spend less time searching for a solution to a common problem and be familiar with the solutions developed from experience, their advantages and drawbacks. The other use of design patterns is as a concise and efficient way to communicate. The patterns are familiar and instantly recognizable solutions to specific problems; with its use, sometimes with a single line of code, we can convey a considerable amount of information. The code speaks: "this is the problem we are facing, these are additional considerations that are most important in our case, and, thus, the following well-known solution was chosen."

By the end of this book, you will have gained a comprehensive understanding of the Design Patterns to create robust, reusable and easily maintainable apps.

What you will learn

  • Recognize some of the most common design patterns used in C++, and what additional information is expressed by their use in context.
  • Understand how to use C++ generic programming to solve some of the most common design problems.
  • Explore the most powerful C++ idioms, their strengths, and drawbacks.
  • Rediscover some of the most popular C++ idioms, such as Resource Acquisition Is Initialization, and learn the new ways they can be used together with generic programming.
  • Understand the impact of different design and implementation choices on the program performance, and how to write well-designed and readable programs without sacrificing performance.

Who This Book Is For

C++ developers who are comfortable in programming in C++ and now want to learn how to implement design patterns to create robust, reusable and easily maintainable apps.

商品描述(中文翻譯)

這本指南將加強您對設計模式的了解,並簡化您在設計模式世界中的旅程。

主要特點:
- 深入探索C++的核心模式和組件,以掌握應用程式設計。
- 學習解決常見設計和架構挑戰的技巧、技術和最佳實踐。
- 通過優化組件來構建高效應用程式。

書籍描述:
C++是一種以嵌入式程式設計和系統程式設計為偏好的通用程式語言。設計模式本質上是一個可重複使用的組件庫,僅用於軟體架構,而非具體實現。

通過本書,我們將教您如何識別和應用一些最常見的C++設計模式和慣用語法。我們將重點關注自然適合C++程式設計師需求並與語言特性相匹配的設計模式。憑藉這些模式的知識,您將花費更少的時間尋找常見問題的解決方案,並熟悉從經驗中開發的解決方案的優點和缺點。設計模式的另一個用途是作為一種簡潔高效的溝通方式。這些模式是熟悉且立即可識別的特定問題解決方案;通過使用它們,有時僅需一行程式碼,我們就能傳達大量信息。程式碼表達了這樣的意思:“這是我們面臨的問題,這些是在我們的情況下最重要的其他考慮因素,因此,我們選擇了以下眾所周知的解決方案。”

通過閱讀本書,您將全面了解設計模式,以創建堅固、可重複使用且易於維護的應用程式。

您將學到什麼:
- 識別C++中最常用的設計模式,以及在特定上下文中使用它們所表達的其他信息。
- 瞭解如何使用C++泛型程式設計解決一些常見的設計問題。
- 探索最強大的C++慣用語法,它們的優點和缺點。
- 重新發現一些最受歡迎的C++慣用語法,例如資源取得即初始化,並學習如何與泛型程式設計結合使用。
- 瞭解不同設計和實現選擇對程式效能的影響,以及如何撰寫設計良好且易讀的程式,同時不損失效能。

本書適合對C++程式設計感到舒適並希望學習如何實施設計模式以創建堅固、可重複使用且易於維護的應用程式的開發人員。