Design Patterns in Modern C++: Reusable Approaches for Object-Oriented Software Design (現代 C++ 設計模式:物件導向軟體設計的可重用方法)

Dmitri Nesteruk

  • 出版商: Apress
  • 出版日期: 2018-04-19
  • 售價: $1,800
  • 貴賓價: 9.5$1,710
  • 語言: 英文
  • 頁數: 314
  • 裝訂: Paperback
  • ISBN: 1484236025
  • ISBN-13: 9781484236024
  • 相關分類: C++ 程式語言Object-orientedDesign Pattern
  • 立即出貨(限量) (庫存=2)

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

相關主題

商品描述

Apply modern C++17 to the implementations of classic design patterns. As well as covering traditional design patterns, this book fleshes out new patterns and approaches that will be useful to C++ developers. The author 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++ also provides a technology demo for modern C++, showcasing how some of its latest features (e.g., coroutines) 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
  • Apply design patterns to modern C++ programming
  • Use creational patterns of 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 Monad and more
 
Who This Book Is For
 
Those with at least some prior programming experience, especially in C++.
 

商品描述(中文翻譯)

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

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

你將學到什麼

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

本書適合對象

具有至少一些編程經驗,尤其是C++經驗的讀者。