Mastering JavaScript Functional Programming: In-depth guide for writing robust and maintainable JavaScript code in ES8 and beyond

Federico Kereki

買這商品的人也買了...

商品描述

Master Functional Programming techniques with this comprehensive guide for writing cleaner, safer, high-performing JavaScript codes

About This Book

  • Become proficient and skilled with Functional Programming in JavaScript to solve real-world development problems
  • Successfully apply Functional Programming concepts and techniques to everyday JavaScript programming
  • Bring modularity, reusability, testability, and performance to your web apps

Who This Book Is For

If you are a JavaScript developer and want to apply functional programming techniques, then this book is for you. Only a basic knowledge of the concepts of functional programming is required for this book.

What You Will Learn

  • Create more reliable code with closures and immutable data
  • Convert existing methods into pure functions, and loops into recursive methods
  • Develop more powerful applications with currying and function composition
  • Separate the logic of your system from implementation details
  • Implement composition and chaining techniques to simplify coding
  • Use functional programming techniques where it makes the most sense

In Detail

Functional programming is a programming paradigm for developing software using functions. Learning to use functional programming is a good way to write more concise code, with greater concurrency and performance. The JavaScript language is particularly suited to functional programming.

This book provides comprehensive coverage of the major topics in functional programming with JavaScript to produce shorter, clearer, and testable programs.

 

商品描述(中文翻譯)

這本書是一本全面指南,教你如何使用函數式編程技術來撰寫更乾淨、更安全、更高效的JavaScript代碼。

關於本書:
- 學會在JavaScript中運用函數式編程解決實際開發問題
- 成功應用函數式編程的概念和技巧到日常的JavaScript編程中
- 為你的網頁應用程式帶來模塊化、可重用性、可測試性和性能

適合閱讀對象:
- 如果你是一位JavaScript開發者,並且想要應用函數式編程技術,那麼這本書適合你。只需要對函數式編程的概念有基本的了解即可。

你將學到的內容:
- 使用閉包和不可變數據創建更可靠的代碼
- 將現有的方法轉換為純函數,將循環轉換為遞歸方法
- 使用柯里化和函數組合開發更強大的應用程式
- 將系統的邏輯與實現細節分離
- 實現組合和鏈接技術以簡化編碼
- 在最適合的地方使用函數式編程技術

詳細內容:
函數式編程是一種使用函數開發軟件的編程範式。學習使用函數式編程是寫出更簡潔、並發性更高、性能更好的代碼的好方法。JavaScript語言特別適合函數式編程。

本書全面介紹了JavaScript函數式編程的主要主題,以產生更短、更清晰、可測試的程序。