Mastering JavaScript Functional Programming 2nd Edition (精通 JavaScript 函數式程式設計(第二版))
Kereki, Federico
- 出版商: Packt Publishing
- 出版日期: 2020-01-24
- 定價: $1,460
- 售價: 8.0 折 $1,168
- 語言: 英文
- 頁數: 470
- 裝訂: Quality Paper - also called trade paper
- ISBN: 183921306X
- ISBN-13: 9781839213069
-
相關分類:
JavaScript
立即出貨(限量) (庫存=2)
買這商品的人也買了...
-
$480$379 -
$550$429 -
$1,120Clean Code in JavaScript
-
$680$530 -
$550$429 -
$560$437 -
$1,500$1,425
相關主題
商品描述
Functional programming is a paradigm for developing software with better performance. It helps you write concise and testable code. To help you take your programming skills to the next level, this comprehensive book will assist you in harnessing the capabilities of functional programming with JavaScript and writing highly maintainable and testable web and server apps using functional JavaScript. This second edition is updated and improved to cover features such as transducers, lenses, prisms and various other concepts to help you write efficient programs. By focusing on functional programming, you’ll not only start to write but also to test pure functions, and reduce side effects. The book also specifically allows you to discover techniques for simplifying code and applying recursion for loopless coding. Gradually, you’ll understand how to achieve immutability, implement design patterns, and work with data types for your application, before going on to learn functional reactive programming to handle complex events in your app. Finally, the book will take you through the design patterns that are relevant to functional programming. By the end of this book, you’ll have developed your JavaScript skills and have gained knowledge of the essential functional programming techniques to program effectively.
|
商品描述(中文翻譯)
《Functional Programming in JavaScript》是一本全面介紹如何使用JavaScript進行函數式編程的書籍。函數式編程是一種開發高效軟體的範式,它可以幫助你撰寫簡潔且易於測試的程式碼。本書將幫助你提升程式設計技能,利用JavaScript的函數式編程能力來撰寫易於維護和測試的網頁和伺服器應用程式。
這本第二版已經更新和改進,新增了一些功能,例如transducers、lenses、prisms等概念,以幫助你撰寫更高效的程式。通過專注於函數式編程,你不僅能開始撰寫純函數,還能減少副作用。本書還特別介紹了簡化程式碼和使用遞迴進行無迴圈編程的技巧。逐漸地,你將了解如何實現不可變性、實現設計模式以及處理應用程式中的複雜事件的函數式反應式編程。最後,本書將帶領你探索與函數式編程相關的設計模式。
通過閱讀本書,你將提升JavaScript技能,並獲得必要的函數式編程技巧,以有效地進行程式設計。
本書的主要內容包括:
- 使用函數組合、管道、鏈式調用和轉換等方式簡化JavaScript程式碼
- 使用聲明式編程而不是命令式編程來撰寫乾淨的JavaScript程式碼
- 使用閉包和不可變數據來創建更可靠的程式碼
- 使用遞迴來解決複雜的程式設計問題
- 使用資料類型、類型檢查和不可變性來改進函數式程式碼
- 了解高級函數式編程概念,如lenses和prisms用於資料存取
- 探索第二版新增的功能,如async functions和transducers,以及函數式反應式編程
- 提升函數式編程技能,使用JavaScript構建網頁和伺服器應用程式
- 使用函數式編程來增強應用程式的模組化、可重用性和性能。
這本書將幫助你深入了解JavaScript的函數式編程,並提供實用的技巧和解決方案,讓你能夠更有效地開發應用程式。