Du er ikke logget ind
Beskrivelse
How can you overcome JavaScript language oddities and unsafe features? With this book, youll learn how to create code thats beautiful, safe, and simple to understand and test by using JavaScripts functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a JavaScript library that facilitates functional programming techniques. Sample code is available on GitHub at https://github.com/funjs/book-source.Fogus helps you think in a functional way to help you minimize complexity in the programs you build. If youre a JavaScript programmer hoping to learn functional programming techniques, or a functional programmer looking to learn JavaScript, this book is the ideal introduction.Use applicative programming techniques with first-class functionsUnderstand how and why you might leverage variable scoping and closuresDelve into higher-order functionsand learn how they take other functions as arguments for maximum advantageExplore ways to compose new functions from existing functionsGet around JavaScripts limitations for using recursive functionsReduce, hide, or eliminate the footprint of state change in your programsPractice flow-based programming with chains and functional pipelinesDiscover how to code without using classes