Unlock the powers of functional programming hidden within JavaScript to build smarter, cleaner, and more reliable web apps About This Book
Discover what functional programming is, why it?s effective, and how it?s used in JavaScript
Understand and optimize JavaScript?s hidden potential as a true functional language
Explore the best coding practices for real-world applicationsWho This Book Is For
If you are a JavaScript developer interested in learning functional programming, looking for the quantum leap towards mastering the JavaScript language, or just want to become a better programmer in general, then this book is ideal for you. It is aimed at programmers involved in developing reactive frontend apps, server-side apps that wrangle with reliability and concurrency, and everything in between.What You Will Learn
Separate core logic from the program state to write more maintainable code
Replace ugly for loops with pure functions and recursion
Simplify code with method chains of pure, higher-order functions
Create more reliable code with closures and immutable data
Explore lazy evaluation strategies and what they can accomplish
Develop more powerful applications with currying and function composition
Use promises, functors, monads, and function factories In Detail
This is a fast-paced guide that will help you to write real-world applications by utilizing a wide range of functional techniques and styles.
The book first explores the core concepts of functional programming common to all functional languages, with examples of their use in JavaScript. It?s followed by a comprehensive roundup of functional programming libraries for JavaScript that minimizes the burden of digging deep into JavaScript to expose a set of tools that makes functional programming not just possible but highly convenient. The book then rounds off with an overview of methods to effectively use and mix functional programming with object-oriented programming.
Discover what functional programming is, why it?s effective, and how it?s used in JavaScript
Understand and optimize JavaScript?s hidden potential as a true functional language
Explore the best coding practices for real-world applicationsWho This Book Is For
If you are a JavaScript developer interested in learning functional programming, looking for the quantum leap towards mastering the JavaScript language, or just want to become a better programmer in general, then this book is ideal for you. It is aimed at programmers involved in developing reactive frontend apps, server-side apps that wrangle with reliability and concurrency, and everything in between.What You Will Learn
Separate core logic from the program state to write more maintainable code
Replace ugly for loops with pure functions and recursion
Simplify code with method chains of pure, higher-order functions
Create more reliable code with closures and immutable data
Explore lazy evaluation strategies and what they can accomplish
Develop more powerful applications with currying and function composition
Use promises, functors, monads, and function factories In Detail
This is a fast-paced guide that will help you to write real-world applications by utilizing a wide range of functional techniques and styles.
The book first explores the core concepts of functional programming common to all functional languages, with examples of their use in JavaScript. It?s followed by a comprehensive roundup of functional programming libraries for JavaScript that minimizes the burden of digging deep into JavaScript to expose a set of tools that makes functional programming not just possible but highly convenient. The book then rounds off with an overview of methods to effectively use and mix functional programming with object-oriented programming.
Author:
Dan Mantyla
By:
Packt Publishing
ISBN10:
1784398225
ISBN13:
9781784398224