Design Patterns in Modern C++20 : Reusable Approaches for Object-Oriented Software Design (Paperback)

Nesteruk, Dmitri

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

商品描述

Apply the latest editions of the C++ standard to the implementation of design patterns. As well as covering traditional design patterns, this book fleshes out new design patterns and approaches that will be useful to modern C++ developers. Author Dmitri Nesteruk presents concepts as a fun investigation of how problems can be solved in different ways, along the way using varying degrees of technical sophistication and explaining different sorts of trade-offs.

Design Patterns in Modern C++20, Second Edition also provides a technology demo for modern C++, showcasing how some of its latest features (e.g., coroutines, modules and more) make difficult problems a lot easier to solve. The examples in this book are all suitable for putting into production, with only a few simplifications made in order to aid readability.

What You Will Learn

 

  • Use creational patterns such as builder, factories, prototype and singleton
  • Implement structural patterns such as adapter, bridge, decorator, facade and more
  • Work with the behavioral patterns such as chain of responsibility, command, iterator, mediator and more
  • Apply functional design patterns such as the Maybe Monad

 

Who This Book Is For

This book is for both beginner and experienced C++ developers.

商品描述(中文翻譯)

應用最新的C++標準來實現設計模式。除了涵蓋傳統的設計模式外,這本書還介紹了對現代C++開發人員有用的新設計模式和方法。作者Dmitri Nesteruk以有趣的方式呈現概念,探討如何以不同的方式解決問題,同時使用不同程度的技術複雜性,並解釋不同類型的權衡。

《Design Patterns in Modern C++20, Second Edition》還展示了現代C++的技術示範,展示了一些最新功能(例如協程、模組等)如何使困難的問題變得更容易解決。本書中的示例都適合投入生產,只有少數簡化以提高可讀性。

你將學到什麼

- 使用創建型模式,如建造者、工廠、原型和單例模式
- 實現結構型模式,如適配器、橋接器、裝飾器、外觀模式等
- 使用行為型模式,如責任鏈、命令、迭代器、中介者等
- 應用函數式設計模式,如Maybe Monad

適合閱讀對象

本書適合初學者和有經驗的C++開發人員。

作者簡介

Dmitri Nesteruk is a quantitative analyst, developer, course and book author, and an occasional conference speaker. His interests lie in software development and integration practices in the areas of computation, quantitative finance and algorithmic trading. His technological interests include C# and C++ programming as well high-performance computing using technologies such as CUDA and FPGAs. He has been a C# MVP since 2009.

作者簡介(中文翻譯)

Dmitri Nesteruk 是一位量化分析師、開發者、課程和書籍作者,偶爾也會擔任會議演講者。他的興趣在於軟體開發和整合實踐,專注於計算、量化金融和算法交易領域。他對技術的興趣包括 C# 和 C++ 程式設計,以及使用 CUDA 和 FPGAs 等技術進行高效能計算。他自 2009 年以來一直是 C# MVP。