Beginning Functional JavaScript: Uncover the Concepts of Functional Programming with EcmaScript 8, 2/e
Anto Aravinth
- 出版商: Apress
- 出版日期: 2018-12-06
- 售價: $2,530
- 貴賓價: 9.5 折 $2,404
- 語言: 英文
- 頁數: 328
- 裝訂: Paperback
- ISBN: 1484240863
- ISBN-13: 9781484240861
-
相關分類:
JavaScript
-
相關翻譯:
JavaScript ES8 函數式編程實踐入門, 2/e (簡中版)
買這商品的人也買了...
-
$306全棧開發之道:MongoDB+Express+AngularJS+Node.js
-
$1,750$1,663 -
$420$332 -
$1,568$1,485 -
$2,520Javascript: The Definitive Guide: Master the World's Most-Used Programming Language, 7/e (Paperback)
-
$600$468 -
$1,539$1,458
相關主題
商品描述
Understand functional programming concepts and the functional nature of the JavaScript language. Starting with an introduction to functional programming concepts, you will learn the key differences between imperative and functional programming. Diving straight into JavaScript functions, you will learn to write them with ES8. Followed by this you will move to higher order functions and learn how 'Function as Data' opens up a world of possibilities.
You will then build higher order functions with closures. Arrays will then be introduced, followed by a set of APIs you can use with them. You will learn how to transform one function to another using currying and partial application. The compose function will be discussed in detail, followed by functors and monads. After having an in-depth look at applicative functors, you will learn the new features offered in ES8.
The concluding chapters of Beginning Functional JavaScript will show you how to use a functional toolkit to build a small library that allows you to develop web applications, followed by tips on testing your functional code.
What You Will Learn
- Discover functional programming concepts such as string padding and async functions
- Identify how functions are treated in JavaScript
- Create a functional library that mimics Underscore.JS
- Deep dive into ES8 functional features such as spread operators and generators
- Create a library that works like the react-redux pattern by following the functional paradigm
Who This Book Is For
Novice JavaScript developers.
商品描述(中文翻譯)
了解函數式編程概念和JavaScript語言的函數式特性。從介紹函數式編程概念開始,您將學習命令式編程和函數式編程之間的主要差異。接著深入研究JavaScript函數,並學習如何使用ES8編寫它們。之後,您將進入高階函數的領域,並了解「函數即數據」的無限可能性。
接下來,您將使用閉包來構建高階函數。然後介紹陣列,並介紹一組可與陣列一起使用的API。您將學習如何使用柯里化和部分應用將一個函數轉換為另一個函數。接著將詳細討論compose函數,然後介紹函子和單子。在深入研究應用函子之後,您將學習ES8提供的新功能。
《Beginning Functional JavaScript》的結尾章節將向您展示如何使用函數式工具包構建一個小型庫,該庫可讓您開發Web應用程序,並提供有關測試函數式代碼的提示。
您將學到什麼:
- 探索函數式編程概念,如字符串填充和異步函數
- 瞭解JavaScript中函數的處理方式
- 創建一個模仿Underscore.JS的函數式庫
- 深入研究ES8的函數式特性,如展開運算符和生成器
- 通過遵循函數式範式,創建一個類似react-redux模式的庫
適合閱讀對象:
初學者JavaScript開發者。