Hands-On Functional Programming with C++
暫譯: C++ 實作函數式程式設計

Bolboaca, Alexandru

  • 出版商: Packt Publishing
  • 出版日期: 2019-06-28
  • 售價: $1,650
  • 貴賓價: 9.5$1,568
  • 語言: 英文
  • 頁數: 358
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789807336
  • ISBN-13: 9781789807332
  • 相關分類: C++ 程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Functional programming enables you to divide your software into smaller, reusable components that are easy to write, debug, and maintain. Combined with the power of C++, you can develop scalable and functional applications for modern software requirements. This book will help you discover the functional features in C++ 17 and C++ 20 to build enterprise-level applications.

Starting with the fundamental building blocks of functional programming and how to use them in C++, you’ll explore functions, currying, and lambdas. As you advance, you’ll learn how to improve cohesion and delve into test-driven development, which will enable you in designing better software. In addition to this, the book covers architectural patterns such as event sourcing to help you get to grips with the importance of immutability for data storage. You’ll even understand how to “think in functions” and implement design patterns in a functional way.

By the end of this book, you’ll be able to write faster and cleaner production code in C++ with the help of functional programming.

商品描述(中文翻譯)

功能性程式設計使您能夠將軟體劃分為更小的、可重用的元件,這些元件易於編寫、除錯和維護。結合 C++ 的強大功能,您可以為現代軟體需求開發可擴展且具功能性的應用程式。本書將幫助您發現 C++ 17 和 C++ 20 中的功能性特徵,以構建企業級應用程式。

從功能性程式設計的基本構建塊及其在 C++ 中的使用開始,您將探索函數、柯里化(currying)和 Lambda 表達式。隨著進步,您將學習如何提高內聚性並深入了解測試驅動開發(test-driven development),這將幫助您設計更好的軟體。此外,本書還涵蓋了事件來源(event sourcing)等架構模式,以幫助您理解不可變性(immutability)在數據存儲中的重要性。您甚至會理解如何「以函數思考」並以功能性方式實現設計模式。

在本書結束時,您將能夠利用功能性程式設計在 C++ 中編寫更快且更乾淨的生產代碼。