Kindle电子书价格: | ¥203.82 |

下载免费的 Kindle 阅读软件,即可立即在智能手机、平板电脑或电脑上阅读 Kindle 电子书 - 无需 Kindle 设备。了解更多信息
使用手机摄像头 - 扫描以下代码并下载 Kindle 阅读软件。

![“Hands-On Functional Programming with TypeScript: Explore functional and reactive programming to create robust and testable TypeScript applications (English Edition)”,作者:[Remo H. Jansen]](https://images-cn.ssl-images-amazon.cn/images/I/51vBagj3xDL._SX260_.jpg)
Hands-On Functional Programming with TypeScript: Explore functional and reactive programming to create robust and testable TypeScript applications (English Edition) Kindle电子书
Discover the power of functional programming, lazy evaluation, monads, concurrency, and immutability to create succinct and expressive implementations
Key Features
- Get a solid understanding of how to apply functional programming concepts in TypeScript
- Explore TypeScript runtime features such as event loop, closures, and Prototypes
- Gain deeper knowledge on the pros and cons of TypeScript
Book Description
Functional programming is a powerful programming paradigm that can help you to write better code. However, learning functional programming can be complicated, and the existing literature is often too complex for beginners. This book is an approachable introduction to functional programming and reactive programming with TypeScript for readers without previous experience in functional programming with JavaScript, TypeScript , or any other programming language.
The book will help you understand the pros, cons, and core principles of functional programming in TypeScript. It will explain higher order functions, referential transparency, functional composition, and monads with the help of effective code examples. Using TypeScript as a functional programming language, you’ll also be able to brush up on your knowledge of applying functional programming techniques, including currying, laziness, and immutability, to real-world scenarios.
By the end of this book, you will be confident when it comes to using core functional and reactive programming techniques to help you build effective applications with TypeScript.
What you will learn
- Understand the pros and cons of functional programming
- Delve into the principles, patterns, and best practices of functional and reactive programming
- Use lazy evaluation to improve the performance of applications
- Explore functional optics with Ramda
- Gain insights into category theory functional data structures such as Functors and Monads
- Use functions as values, so that they can be passed as arguments to other functions
Who this book is for
This book is designed for readers with no prior experience of functional programming with JavaScript, TypeScript or any other programming language. Some familiarity with TypeScript and web development is a must to grasp the concepts in the book easily.
Table of Contents
- Functional programming fundamentals
- Mastering functions
- Mastering asynchronous programming
- The runtime: The event loop and the this operator
- The runtime: Prototypes and closures
- Functional programming techniques
- Category theory
- Optics, immutability, and laziness
- Functional reactive programming
- Real-world functional programming
- Directory of TyprScript FP libraries
- FP learning roadmap from novice to expert
基本信息
- ASIN : B07KSXLCNK
- 出版社 : Packt Publishing; 第 1st 版 (2019年1月30日)
- 出版日期 : 2019年1月30日
- 语言 : 英语
- 文件大小 : 1510 KB
- 标准语音朗读 : 已启用
- X-Ray : 未启用
- 生词提示功能 : 未启用
- 纸书页数 : 210页
- 用户评分:
无顾客评论
5 星 (0%) |
|
0% |
4 星 (0%) |
|
0% |
3 星 (0%) |
|
0% |
2 星 (0%) |
|
0% |
1 星 (0%) |
|
0% |
此商品在美国亚马逊上最有用的商品评论

Structurally it ends up being a hodgepodge of information, most of which isn't focused upon the central thrust of the book, Functional Programming in Typescript.
The first half of the book is focused primarily upon JavaScript fundamentals regarding functions themselves, with some Typescript information thrown in. However most of the Typescript content is in the form of what additions you need to make to your tsconfig file. Beyond that there is little direct discussion of typescript. The examples are in typescript, but the author doesn't actually talk about approaches to typing.
If you aren't already familiar with these topics, like Promises, the Event Loop, this, arrow functions, etc, the information will prove useful. But if you are, then feel free to skip the first half of the book you just paid for.
Recursion gets a paragraph and the fibonnaci algorithm, while point free style has a vague explanation then a code example with and without a point free approach, leaving you to deduce what exactly the author meant.
The category theory section was actually quite helpful for me, as it did a lot to clarify what Functors, Applicatives and Monads actually are without relying upon mathematic terminology.
The Lense section was similarly clarifying.
However then the author decides to delve into Functional Reactive programming and we spend a chapter learning about RxJs. Interesting, and helpful, if I wanted to learn about RxJs. If I did, I would get a book on it, and not just a chapter in a book on a different topic...
Finally we get to the Real World Functional Programming chapter, which is nothing more than a brief overview of a couple functional programming libraries. We don't even talk about fp-ts, a functional programming library FOR typescript!
Overall the book suffers from a disorganized focus upon everything but the two reasons I bought the book to begin with: functional programming & Typescript. All of the examples are in Typescript, but there's little actual coverage of how to type functional style programs, which can actually be quite difficult. It has a lot of different topics that it covers, presumably building up the fundamental knowledge that you need, but then falls completely flat.
The author routinely treats the provided code as self-explanatory, and some times it is. However providing a single example and then moving on to a new topic is really inadequate. I was hoping for some solid functional code with a walk-through of the build up process is, figuring out what helper functions you'll need to define, dealing with IO, and thinking functionally, and instead I got a really terse book that spends more pages talking about function parameters than it does talking about ADT.
One of the main reasons I purchased this book is because the author's blog post advocating using Typescript for Functional Programming. I assumed the book would be similarly well written. Given the formulaic nature of the book, I believe this is less of a reflection on the author than it is on Packt as a publisher and their formatting/content requirements.