Mastering JavaScript Functional Programming, 2nd Edition

0
(0)

Mastering JavaScript Functional Programming, 2nd Edition
 

  • Author:Federico Kereki
  • Length: 470 pages
  • Edition: 2
  • Publisher: Packt Publishing
  • Publication Date: 2020-01-24
  • ISBN-10: 183921306X
  • ISBN-13: 9781839213069
  • Sales Rank: #2448120 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Explore the functional programming paradigm and the different techniques for developing better algorithms, writing more concise code, and performing seamless testing

    Key Features

    • Explore this second edition updated to cover features like async functions and transducers, as well as functional reactive programming
    • Enhance your functional programming (FP) skills to build web and server apps using JavaScript
    • Use FP to enhance the modularity, reusability, and performance of apps

    Book Description

    Functional programming is a paradigm for developing software with better performance. It helps you write concise and testable code. To help you take your programming skills to the next level, this comprehensive book will assist you in harnessing the capabilities of functional programming with JavaScript and writing highly maintainable and testable web and server apps using functional JavaScript.

    This second edition is updated and improved to cover features such as transducers, lenses, prisms and various other concepts to help you write efficient programs. By focusing on functional programming, you’ll not only start to write but also to test pure functions, and reduce side effects. The book also specifically allows you to discover techniques for simplifying code and applying recursion for loopless coding. Gradually, you’ll understand how to achieve immutability, implement design patterns, and work with data types for your application, before going on to learn functional reactive programming to handle complex events in your app. Finally, the book will take you through the design patterns that are relevant to functional programming.

    By the end of this book, you’ll have developed your JavaScript skills and have gained knowledge of the essential functional programming techniques to program effectively.

    What you will learn

    • Simplify JavaScript coding using function composition, pipelining, chaining, and transducing
    • Use declarative coding as opposed to imperative coding to write clean JavaScript code
    • Create more reliable code with closures and immutable data
    • Apply practical solutions to complex programming problems using recursion
    • Improve your functional code using data types, type checking, and immutability
    • Understand advanced functional programming concepts such as lenses and prisms for data access

    Who this book is for

    This book is for JavaScript developers who want to enhance their programming skills and build efficient web applications. Frontend and backend developers who use various JavaScript frameworks and libraries like React, Angular, or Node.js will also find the book helpful. Working knowledge of ES2019 is required to grasp the concepts covered in the book easily.

    Table of Contents

    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 and Composition
    9. Designing Functions – Recursion
    10. Ensuring Purity – Immutability
    11. Implementing Design Patterns – The Functional Way
    12. Building Better Containers – Functional Data Types

    中文:

    书名:Mastering JavaScript Functional Programming, 2nd Edition

    探索函数式编程范例和用于开发更好的算法、编写更简洁的代码和执行无缝测试的不同技术

    Key Features

    • 了解此第二版更新,以涵盖功能,如异步功能和传感器,以及功能反应编程
    • 增强您的函数式编程(FP)技能,以使用JavaScript构建Web和服务器应用程序
    • 使用FP增强应用程序的模块化、可重用性和性能

    Book Description

    函数式编程是一种开发性能更好的软件的范例。它可以帮助您编写简洁且可测试的代码。为了帮助您将编程技能提升到一个新的水平,这本全面的书将帮助您利用函数式编程的功能和使用函数式JavaScript编写高度可维护和可测试的Web和服务器应用程序。

    此第二版经过更新和改进,包括传感器、透镜、棱镜和各种其他概念,以帮助您编写高效的程序。通过专注于函数式编程,您不仅可以开始编写,还可以测试纯函数,并减少副作用。这本书还特别允许您发现简化代码和应用递归进行无循环编码的技术。逐渐地,在学习函数式反应式编程以处理应用程序中的复杂事件之前,您将了解如何实现不变性、实现设计模式和使用应用程序的数据类型。最后,本书将带您了解与函数式编程相关的设计模式。

    到本书结束时,您将发展您的JavaScript技能,并获得有效编程所需的基本函数式编程技术知识。

    What you will learn

    • Simplify JavaScript coding using function composition, pipelining, chaining, and transducing
    • 使用声明性编码而不是命令性编码来编写干净的JavaScript代码
    • 使用闭包和不可变数据创建更可靠的代码
    • 使用递归将实际解决方案应用于复杂编程问题
    • 使用数据类型、类型检查和不变性改进您的功能代码
    • 了解高级函数式编程概念,如用于数据访问的透镜和棱镜

    Who this book is for

    这本书是为想要提高编程技能和构建高效Web应用程序的JavaScript开发人员而写的。使用各种JavaScript框架和库的前端和后端开发人员也会发现这本书很有帮助。需要ES2019的工作知识才能轻松掌握书中涵盖的概念。

    Table of Contents

    1. Becoming Functional – Several Questions
    2. Thinking Functionally – A First Example
    3. 从函数开始&一个核心概念
    4. Behaving Properly – Pure Functions
    5. Programming Declaratively – A Better Style
    6. Producing Functions – Higher-Order Functions
    7. 变换函数及其部分应用
    8. 连接函数&流水线和组合
    9. Designing Functions – Recursion
    10. Ensuring Purity – Immutability
    11. 实现设计模式&功能方式
    12. 构建更好的容器和函数数据类型
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册