Hands-On Functional Programming with TypeScript

Hands-On Functional Programming with TypeScript Front Cover
0 Reviews
2019-01-30
210 pages

Book Description

Hands-On Functional Programming with TypeScript: Explore functional and reactive programming to create robust and testable TypeScript applications

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 , TypeScript , or any other programming language.

The book will help you understand the pros, cons, and core of functional programming in TypeScript. It will explain higher order , 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 of applications
  • Explore functional optics with Ramda
  • Gain insights into category 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 is a must to grasp the concepts in the book easily.

Table of Contents

  1. Functional programming fundamentals
  2. Mastering functions
  3. Mastering asynchronous programming
  4. The runtime: The event loop and the this operator
  5. The runtime: Prototypes and closures
  6. Functional programming techniques
  7. Category theory
  8. Optics, immutability, and laziness
  9. Functional reactive programming
  10. Real-world functional programming
  11. Directory of TyprScript FP libraries
  12. FP learning roadmap from novice to expert

Book Details

  • Title: Hands-On Functional Programming with TypeScript
  • Author:
  • Length: 210 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2019-01-30
  • ISBN-10: 1788831438
  • ISBN-13: 9781788831437