Veze, linkovi
Kompjuter biblioteka
Korpa
Mastering JavaScript Functional Programming - Second Edition

Java, JavaScript, JScript, Perl Java, JavaScript, JScript, Perl

Mastering JavaScript Functional Programming - Second Edition

Autor: Federico Kereki
Broj strana: 470
ISBN broj: 9781839213069
Izdavač: PACKT PUBLISHING PACKT PUBLISHING
Godina izdanja: 2020.

Pregleda (30 dana / ukupno): 327 / 475

                 
Twitter   Facebook   Linkedin   Pinterest   Email
                 
Predlog za prevod

 

Kupite na Amazonu

 

  • 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

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.

  • 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

Table of contents

1 Technical Requirements

2 Becoming Functional - Several Questions
What is functional programming?
Why use FP?
Is JavaScript functional?
How do we work with JavaScript?
Summary
Questions

3 Thinking Functionally - A First Example
Our problem – doing something only once
A functional solution to our problem
Summary
Questions

4 Starting Out with Functions - A Core Concept
All about functions
Using functions in FP ways
Summary
Questions 

5 Behaving Properly - Pure Functions
Pure functions
Impure functions
Testing – pure versus impure
Summary
Questions

6 Programming Declaratively - A Better Style
Transformations
Logical higher-order functions
Working with async functions
Summary
Questions

7 Producing Functions - Higher-Order Functions
Wrapping functions – keeping behavior
Altering a function's behavior
Changing functions in other ways
Summary
Questions

8 Transforming Functions - Currying and Partial Application
A bit of theory
Currying
Partial application
Partial currying
Final thoughts
Summary
Questions

9 Connecting Functions - Pipelining and Composition
Pipelining
Chaining and fluent interfaces
Composing
Transducing
Summary
Questions

10 Designing Functions - Recursion
Using recursion
Recursion techniques
Summary
Questions

11 Ensuring Purity - Immutability
Going the straightforward JavaScript way
Creating persistent data structures
Summary
Questions

12 Implementing Design Patterns - The Functional Way
Understanding design patterns
Object-oriented design patterns
Functional design patterns
Summary
Questions

13 Building Better Containers - Functional Data Types
Specifying data types
Building containers 
Functions as data structures
Summary
Questions

14 Bibliography

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

16 Other Books You May Enjoy
Leave a review - let other readers know what you think

 

Komentari

• Nikola Bozic
Odlicna knjiga, predlog za prevod.

• B
Prevedite ovo, ozbiljna knjiga za javascript

Ostavite komentar Ostavite komentar

 

Preporučujemo

Learning JavaScript Data Structures and Algorithms - Second Edition

Learning JavaScript Data Structures and Algorithms - Second Edition

Learning TypeScript

Learning TypeScript

Veze, linkovi
Linkedin Twitter Facebook
 
     
 
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272