Mastering JavaScript Functional Programming - Third Edition: Write clean, robust, and maintainable web and server code using functional JavaScript and
暫譯: 精通 JavaScript 函數式編程 - 第三版:使用函數式 JavaScript 編寫乾淨、穩健且可維護的網頁和伺服器代碼

Kereki, Federico

  • 出版商: Packt Publishing
  • 出版日期: 2023-04-28
  • 售價: $1,500
  • 貴賓價: 9.5$1,425
  • 語言: 英文
  • 頁數: 614
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1804610135
  • ISBN-13: 9781804610138
  • 相關分類: JavaScript
  • 立即出貨 (庫存=1)

相關主題

商品描述

Apply functional programming techniques to write testable terser code for frontend and backend development with improved clarity, concurrency, and performance

Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Apply functional programming concepts and techniques to everyday JavaScript or TypeScript programming
  • Master functional programming in JavaScript and TypeScript to solve real-world development problems
  • Apply functional programming to get better testable programs with higher modularity and reusability

Book Description

Functional programming is a programming paradigm that uses functions for developing software. This book is filled with examples that enable you to leverage the latest JavaScript and TypeScript versions to produce modern and clean code, as well as teach you to how apply functional programming techniques to develop more efficient algorithms, write more concise code, and simplify unit testing.

This book provides comprehensive coverage of the major topics in functional programming to produce shorter, clearer, and testable programs. You'll begin by getting to grips with writing and testing pure functions, reducing side effects, as well as other key features to make your applications functional in nature. The book specifically explores techniques to simplify coding, apply recursion, perform high-level coding, learn ways to achieve immutability, implement design patterns, and work with data types.

By the end of this book, you'll have developed the practical programming skills needed to confidently enhance your applications by adding functional programming to wherever it's most suitable.

What you will learn

  • Understand when to use functional programming versus classic object-oriented programming
  • Use declarative coding instead of imperative coding for clearer, more understandable code
  • Know how to avoid side effects and create more reliable code with closures and immutable data
  • Use recursion to help design and implement more understandable solutions to complex problems
  • Define functional programing data types with or without TypeScript, add type checking, and implement immutability
  • Apply advanced containers to get better structures to tackle errors and implement async programming

Who this book is for

If you are a JavaScript or TypeScript developer looking to enhance your programming skills, then this book is for you. The book applies to both frontend developers working with frameworks such as React, Vue, or Angular as well as backend developers using Node.js or Deno.

商品描述(中文翻譯)

應用函數式程式設計技術來撰寫可測試的簡潔代碼,以提高前端和後端開發的清晰度、並發性和性能。

購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書。

主要特點

- 將函數式程式設計概念和技術應用於日常的 JavaScript 或 TypeScript 編程
- 精通 JavaScript 和 TypeScript 中的函數式程式設計,以解決現實世界的開發問題
- 應用函數式程式設計來獲得更具可測試性的程序,並提高模組化和重用性

書籍描述

函數式程式設計是一種使用函數來開發軟體的程式設計範式。本書充滿了示例,使您能夠利用最新的 JavaScript 和 TypeScript 版本來產生現代且乾淨的代碼,並教您如何應用函數式程式設計技術來開發更高效的演算法、撰寫更簡潔的代碼以及簡化單元測試。

本書全面涵蓋函數式程式設計的主要主題,以產生更短、更清晰且可測試的程序。您將首先學會撰寫和測試純函數、減少副作用,以及其他關鍵特徵,使您的應用程式具有函數性。本書特別探討簡化編碼的技術、應用遞迴、執行高階編碼、學習實現不可變性的方法、實現設計模式以及處理數據類型。

在本書結束時,您將具備實用的程式設計技能,能夠自信地通過在最合適的地方添加函數式程式設計來增強您的應用程式。

您將學到的內容

- 理解何時使用函數式程式設計與經典的物件導向程式設計
- 使用宣告式編碼而非命令式編碼,以獲得更清晰、更易理解的代碼
- 知道如何避免副作用,並使用閉包和不可變數據創建更可靠的代碼
- 使用遞迴來幫助設計和實現更易理解的複雜問題解決方案
- 定義函數式程式設計數據類型,無論是否使用 TypeScript,添加類型檢查並實現不可變性
- 應用高級容器以獲得更好的結構來處理錯誤並實現異步編程

本書適合誰

如果您是希望提升程式設計技能的 JavaScript 或 TypeScript 開發者,那麼本書適合您。本書適用於使用 React、Vue 或 Angular 等框架的前端開發者,以及使用 Node.js 或 Deno 的後端開發者。

目錄大綱

1. Becoming Functional - Several Questions
2. Thinking Functionally - A First Example
3. Starting Out with Functions – A Core Concept
4. Behaving Properly - Pure Functions
5. Programming Declaratively – A Better Style
6. Producing Functions – Higher-Order Functions
7. Transforming Functions – Currying and Partial Application
8. Connecting Functions – Pipelining, Composition, and More
9. Designing Functions – Recursion
10. Ensuring Purity – Immutability
11. Implementing Design Patterns – The Functional Way
12. Building Better Containers – Functional Data Types

目錄大綱(中文翻譯)

1. Becoming Functional - Several Questions

2. Thinking Functionally - A First Example

3. Starting Out with Functions – A Core Concept

4. Behaving Properly - Pure Functions

5. Programming Declaratively – A Better Style

6. Producing Functions – Higher-Order Functions

7. Transforming Functions – Currying and Partial Application

8. Connecting Functions – Pipelining, Composition, and More

9. Designing Functions – Recursion

10. Ensuring Purity – Immutability

11. Implementing Design Patterns – The Functional Way

12. Building Better Containers – Functional Data Types