Functional Programming in JavaScript (Paperback)

Luis Atencio

  • 出版商: Manning
  • 出版日期: 2016-06-18
  • 定價: $1,575
  • 售價: 9.5$1,496
  • 貴賓價: 9.0$1,418
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Paperback
  • ISBN: 1617292826
  • ISBN-13: 9781617292828
  • 相關分類: JavaScript
  • 相關翻譯: JavaScript 函數式編程指南 (簡中版)
  • 立即出貨

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

相關主題

商品描述

As web developers build increasingly complex applications in JavaScript, the code base for these projects can become exponentially larger and harder to maintain. The results: Application performance suffers, and readability and extensibility are severely compromised. For applications like these, Functional Programming provides a saner approach, allowing users to write elegant, readable code that raises the level of abstraction while being less prone to errors. Although not a "pure" functional language, JavaScript's native functional capabilities unlock access to proven functional programming techniques and practices.

Functional Programming in JavaScript teaches JavaScript developers functional techniques that will improve extensibility, modularity, reusability, testability, and performance. Through concrete examples and jargon-free explanations, the book shows how to apply functional programming to real-life development tasks. It includes insightful comparisons to object-oriented or imperative programming, allowing readers to ease into functional design. Moreover, they'll gain a repertoire of techniques including function chaining and pipelining, recursion, currying, binding, functional composition, lazy evaluation, fluent error handling, and memoization, By the end of the book, they'll think about application design in a fresh new way.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

商品描述(中文翻譯)

隨著網頁開發人員在JavaScript中建立越來越複雜的應用程式,這些專案的程式碼庫可能會變得越來越大且難以維護。結果是:應用程式的效能下降,可讀性和可擴展性嚴重受損。對於這類應用程式,函數式編程提供了一種更合理的方法,允許使用者撰寫優雅且易讀的程式碼,提高抽象層次,同時減少錯誤的可能性。儘管不是一種「純」的函數式語言,JavaScript的本地函數式能力可以解鎖對經過驗證的函數式編程技術和實踐的使用。

《JavaScript中的函數式編程》教導JavaScript開發人員函數式技巧,以提高可擴展性、模組化、可重用性、可測試性和效能。通過具體的示例和不涉及專業術語的解釋,本書展示了如何將函數式編程應用於實際開發任務。它還提供了與面向對象或命令式編程的深入比較,讓讀者逐漸適應函數式設計。此外,他們還將獲得一系列技巧,包括函數鏈接和管道化、遞歸、柯里化、綁定、函數組合、惰性求值、流暢的錯誤處理和記憶化。通過閱讀本書,他們將以全新的方式思考應用程式設計。

購買印刷版書籍還包括Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。