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++ 慣用法,例如資源獲取即初始化(Resource Acquisition Is Initialization),並學習它們如何與泛型程式設計一起使用的新方法。
- 理解不同設計和實現選擇對程式性能的影響,以及如何在不犧牲性能的情況下編寫設計良好且可讀的程式。

本書適合對象

對 C++ 編程感到舒適的 C++ 開發人員,現在希望學習如何實現設計模式,以創建穩健、可重用且易於維護的應用程式。