API Design for C++ 2/e

Reddy, Martin

  • 出版商: Morgan Kaufmann
  • 出版日期: 2024-05-23
  • 售價: $3,200
  • 貴賓價: 9.5$3,040
  • 語言: 英文
  • 頁數: 648
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 0443222193
  • ISBN-13: 9780443222191
  • 相關分類: C++ 程式語言
  • 立即出貨


API Design for C++, Second Edition provides a comprehensive discussion of Application Programming Interface (API) development, from initial design through implementation, testing, documentation, release, versioning, maintenance, and deprecation. It is the only book that teaches the strategies of C++ API development, including interface design, versioning, scripting, and plug-in extensibility. Drawing from the author's experience on large scale, collaborative software projects, the text offers practical techniques of API design that produce robust code for the long-term. It presents patterns and practices that provide real value to individual developers as well as organizations. The Second Edition includes all new material fully updated for the latest versions of C++, including a new chapter on concurrency and multithreading, as well as a new chapter discussing how Objective C++ and C++ code can co-exist and how a C++ API can be accessed from Swift programs. In addition, it explores often overlooked issues, both technical and non-technical, contributing to successful design decisions that produce high quality, robust, and long-lived APIs. It focuses on various API styles and patterns that will allow you to produce elegant and durable libraries. A discussion on testing strategies concentrates on automated API testing techniques rather than attempting to include end-user application testing techniques such as GUI testing, system testing, or manual testing.


《C++ API設計,第二版》提供了對應用程式介面(API)開發的全面討論,從初始設計到實作、測試、文件化、發佈、版本控制、維護和棄用。這是唯一一本教授C++ API開發策略的書籍,包括介面設計、版本控制、腳本編寫和插件擴展。作者根據在大型協作軟體專案中的經驗,提供了實用的API設計技巧,以產生長期穩固的程式碼。本書介紹了能為個人開發者和組織帶來實際價值的模式和實踐方法。第二版包含了全新的內容,完全更新至最新的C++版本,其中包括一個關於並行和多執行緒的新章節,以及一個討論Objective C++和C++程式碼如何共存以及如何從Swift程式中訪問C++ API的新章節。此外,本書還探討了常被忽視的技術和非技術問題,這些問題對於產生高品質、穩固且長壽的API設計決策至關重要。本書著重於各種API風格和模式,讓您能夠創建優雅且持久的程式庫。在測試策略的討論中,重點放在自動化API測試技術上,而不是試圖包含使用者應用程式測試技術,如GUI測試、系統測試或手動測試。