Learning Functional JavaScript
A deep dive into functional programming with practical examples from both server and client-side JavaScript code
A deep dive into functional programming with practical examples from both server and client-side JavaScript code
About This Video
- Get to grips with data flow using immutability and learn how to reason with code
- Eliminate the common loop problems efficiently using Recursion
- Boost your performance by using lazy functions and employing laziness to increase performance
- Play with the included sample application – a text-based adventure game – to see the techniques put together
In Detail
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.
Get Learning Functional JavaScript – Packt Publishing , Only Price $29
Course Curriculum
Introduction to Functional Programming
- What Is Functional Programming? (4:07)
- The Course Overview (3:54)
- Your First Functional Programming Concepts (3:33)
Higher Order Functions
- First-class Functions (2:41)
- Passing Functions as Arguments (8:31)
- Returning Functions (4:39)
Functional Asynchrony
- Callbacks (5:14)
- Continuation Passing Style (6:33)
- Promises (10:33)
Function Composition
- Partial Function Application (7:04)
- Currying (8:44)
- Composition (7:01)
Immutability
- What Is Immutability? (6:45)
- Working with Immutability (8:59)
- Immutability in the UI (6:00)
- Mechanics and Performance (6:59)
Recursion
- Recursive Thinking (7:24)
- A Recursive AST Parser (7:15)
- Trampolining (4:47)
Laziness
- Lazy Evaluation (8:46)
- Lazy Sequences (5:45)
- Infinite Sequences (5:11)
Get Learning Functional JavaScript – Packt Publishing , Only Price $29
Tag: Learning Functional JavaScript – Packt Publishing Review. Learning Functional JavaScript – Packt Publishing download. Learning Functional JavaScript – Packt Publishing discount.
Reviews
There are no reviews yet.