Functional JavaScript: Introducing Functional Programming with Underscore.js 1st Edition 22107

How can you overcome JavaScript language oddities and unsafe features? With this book, you'll learn how to create code that's beautiful, safe, and simple to understand and test by using JavaScript's functional programming support. Author Michael Fogus shows you how to apply functional-style with concepts 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 you're 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 functions
  • Understand how and why you might leverage variable scoping and closures
  • Delve into higher-order functions—and learn how they take other functions as arguments for maximum advantage
  • Explore ways to compose new functions from existing functions
  • Get around JavaScript's limitations for using recursive functions
  • Reduce, hide, or eliminate the footprint of state change in your programs
  • Practice flow-based programming with chains and functional pipelines
  • Discover how to code without using classes

Chapter 1 : Introducing Functional JavaScript
The Case for JavaScript
Getting Started with Functional Programming
The Case for Underscore
Summary
Chapter 2 : First-Class Functions and Applicative Programming
Functions as First-Class Things
Applicative Programming
Data Thinking
Summary
Chapter 3 : Variable Scope and Closures
Global Scope
Lexical Scope
Dynamic Scope
Function Scope
Closures
Summary
Chapter 4 : Higher-Order Functions
Functions Take That Other Functions
Functions That Return Other Functions
Putting It All Together: Object Validators
Summary
Chapter 5 : Function-Building Functions
The Essence of Functional Composition
Currying
Partial Application
Stitching Functions End-to-End with Compose
Summary
Chapter 6 : Recursion
Self-Absorbed Functions (Functions That Call Themselves)
Codependent Functions (Functions Calling Other Functions That Call Back)
Too Much Recursion!
Recursion Is a Low-Level Operation
Summary
Chapter 7 : Purity, Immutability, and Policies for Change
Purity
Immutability
Policies for Controlling Change
Summary
Chapter 8 : Flow-Based Programming
Chaining
Pipelining
Data Flow versus Control Flow
Summary
Chapter 9 : Programming Without Class
Data Orientation
Mixins
}).call("Finis");
Appendix : Functional JavaScript in the Wild
Functional Libraries for JavaScript
Functional Programming Languages Targeting JavaScript
Appendix : Annotated Bibliography
Papers/Books/Blog Posts/Talks
Presentations
Blog Posts
Journal Articles
Colophon

  • Автор
    Michael Fogus
  • Категорія
    Програмування
  • Мова
    Англійська
  • Рік
    2013
  • Сторінок
    260
  • Формат
    170х240 мм
  • Обкладинка
    М'яка
  • Тип паперу
    Офсетний
  • Термін поставки
    7-10 дней
674 ₴
Відділення Нова Пошта80 ₴
Поштомат Нова Пошта40 ₴
Кур’єр Нова Пошта120 ₴
Відділення УкрПошта50 ₴
Кур’єр за адресою90 ₴
Functional JavaScript: Introducing Functional Programming with Underscore.js 1st Edition - фото 1
22107
Залиште свій відгук про книгу,
допоможіть тим, хто ще не читав