Learning Functional JavaScript [Video]

Learning Functional JavaScript [Video]

This video is included in a Mapt subscription
Christian Johansen

1 customer reviews
A deep dive into functional programming with practical examples from both server and client-side JavaScript code
$10.00
RRP $74.99
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

Video Details

ISBN 139781785287800
Course Length2 hours

Video Description

Along with being tried and trusted, functional programming is one of the biggest current trends in programming. Its focus on side-effect free code, unadorned data manipulation and simple structures promote a coding style that reduces bugs, and lifts the level of abstraction to a point where we can achieve more with less code. All topics discussed in the course can be used to various degrees in any code-base – even if your daily work is with a huge object-oriented project, the techniques discussed will certainly be useful.

Learning Functional JavaScript will show you how to build powerful abstractions by combining many small and simple functions, and how to strip your data modeling to the necessities. We start by investigating the power of higher-order functions by diving right into the implementation of the sample application. We then elaborate by partially applying and composing functions before we end up with lazy evaluation to boost our abstraction power and performance.

Right from the start we'll dive into the implementation of a text-based adventure game. We will also see how function composition is used to solve specific problems in this domain by combining highly generic functions. We learn function programming techniques that help improve asynchronous code used to load the game from disk.

Later we'll become acquainted with a few other examples as well, as we learn about designing applications around an immutable data structure. And we end our journey with a discussion of recursion and how it relates to lazy data structures, and show examples of using previously discussed techniques on infinite data sets.

At the end of the course, you’ll be proficient with the basic functional programming techniques and will be able to optimize your JavaScript code by applying them. Learning Functional JavaScript teaches you all the basic functional programming techniques and shows you how to apply them to JavaScript, and how they can be used to solve highly practical problems.

Style and Approach

This video course is a comprehensive guide with live demonstrations of the constructs explained and practical results for thorough understanding.

Table of Contents

Introduction to Functional Programming
The Course Overview
What Is Functional Programming?
Your First Functional Programming Concepts
Higher Order Functions
First-class Functions
Passing Functions as Arguments
Returning Functions
Functional Asynchrony
Callbacks
Continuation Passing Style
Promises
Function Composition
Partial Function Application
Currying
Composition
Immutability
What Is Immutability?
Working with Immutability
Immutability in the UI
Mechanics and Performance
Recursion
Recursive Thinking
A Recursive AST Parser
Trampolining
Laziness
Lazy Evaluation
Lazy Sequences
Infinite Sequences

What You Will Learn

  • Explore higher-order functions, what they are and how to work with them
  • Solve issues related to asynchronous methods effectively by using promises
  • Use a library such as immutable.js to implement immutability
  • Implement immutability with Facebook’s React for super fast user interfaces
  • Combine a “functional core” to build a web application where most of the code is functional
  • Make efficient use of recursion with big data sets to make code easier to visualize

Authors

Screenshots

Table of Contents

Introduction to Functional Programming
The Course Overview
What Is Functional Programming?
Your First Functional Programming Concepts
Higher Order Functions
First-class Functions
Passing Functions as Arguments
Returning Functions
Functional Asynchrony
Callbacks
Continuation Passing Style
Promises
Function Composition
Partial Function Application
Currying
Composition
Immutability
What Is Immutability?
Working with Immutability
Immutability in the UI
Mechanics and Performance
Recursion
Recursive Thinking
A Recursive AST Parser
Trampolining
Laziness
Lazy Evaluation
Lazy Sequences
Infinite Sequences

Video Details

ISBN 139781785287800
Course Length2 hours
Read More
From 1 reviews

Read More Reviews

Recommended for You

What's New in Java 8: Lambdas [Video] Book Cover
What's New in Java 8: Lambdas [Video]
$ 10.00
Learn Ruby on Rails by Building Projects [Video] Book Cover
Learn Ruby on Rails by Building Projects [Video]
$ 10.00
Mastering Entity Framework Core – Mapping, Querying and Manipulating Data [Video] Book Cover
Mastering Entity Framework Core – Mapping, Querying and Manipulating Data [Video]
$ 10.00
BeagleBone: Creative Projects for Hobbyists Book Cover
BeagleBone: Creative Projects for Hobbyists
$ 10.00