Functional JavaScript

0
(0)

Functional JavaScript
 

  • Author:Michael Fogus
  • Length: 260 pages
  • Edition: 1
  • Publisher: O’Reilly Media
  • Publication Date: 2013-06-17
  • ISBN-10: 1449360726
  • ISBN-13: 9781449360726
  • Sales Rank: #989127 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Functional JavaScript: Introducing Functional Programming with Underscore.js

    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 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 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

    Table of Contents

    Chapter 1. Introducing Functional JavaScript
    Chapter 2. First-Class Functions and Applicative Programming
    Chapter 3. Variable Scope and Closures
    Chapter 4. Higher-Order Functions
    Chapter 5. Function-Building Functions
    Chapter 6. Recursion
    Chapter 7. Purity, Immutability, and Policies for Change
    Chapter 8. Flow-Based Programming
    Chapter 9. Programming Without Class

    Appendix A. Functional JavaScript in the Wild
    Appendix B. Annotated Bibliography

    中文:

    书名:函数式Java脚本

    函数式Java脚本:使用UnderScotre.js介绍函数式编程

    如何克服JavaScript语言的奇特之处和不安全的特性?在这本书中,您将学习如何使用JavaScript的函数式编程支持来创建漂亮、安全、易于理解和测试的代码。作者Michael Fogus向您展示了如何使用UnderScotre.js应用函数式风格的概念,这是一个促进函数式编程技术的JavaScript库。示例代码可在giHub上获得,网址为https://github.com/funjs/book-source.。

    Fogus帮助您以功能的方式思考,帮助您将构建的程序的复杂性降至最低。如果您是一名希望学习函数式编程技术的JavaScript程序员,或者是一名希望学习JavaScript的函数式程序员,这本书是理想的入门书籍。

    • 使用具有一流函数的应用编程技术
    • 了解如何以及为什么可以利用变量作用域和闭包
    • 深入研究高阶函数-并了解它们如何将其他函数作为参数以获得最大优势
    • 探索从现有函数组合新函数的方法
    • 绕过使用递归函数的JavaScript限制
    • 减少、隐藏或消除程序中状态更改的影响
    • 使用链和功能流水线实践基于流的编程
    • 了解如何在不使用类的情况下编码

    目录表

    Chapter 1. Introducing Functional JavaScript
    第二章一类函数和应用程序设计
    第三章变量作用域和闭包
    第四章高阶函数
    第5章.功能构建功能
    第6章.递归
    第七章:纯洁性、不变性和变革政策
    Chapter 8. Flow-Based Programming
    第9章:无类编程

    附录A.原创的函数式Java脚本
    附录B附注书目

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册