JavaScript Allongé

0
(0)
  • Author:raganwald
  • Length: 250 pages
  • Edition: 1
  • Publisher: Leanpub
  • Publication Date: 2014-06-19
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    What readers are saying

    “I think it’s one of the best tech books I’ve read since Sedgewick’s Algorithms in C.” Andrey Sidorov

    “Your explanation of closures in JavaScript Allongé is the best I’ve read.” Emehrkay

    “It’s a different approach to JavaScript than you’ll find in most other places and shines a light on some of the more elegant parts of JavaScript the language.” @jeremymorrell

    And listen to the JavaScript Jabber Book Club Podcast about JavaScript Allongé!

    Why they’re saying it:
    JavaScript Allongé solves two important problems for the ambitious JavaScript programmer. First, JavaScript Allongé gives you the tools to deal with JavaScript bugs, hitches, edge cases, and other potential pitfalls.

    There are plenty of good directions for how to write JavaScript programs. If you follow them without alteration or deviation, you will be satisfied. Unfortunately, software is a complex thing, full of interactions and side-effects. Two perfectly reasonable pieces of advice when taken separately may conflict with each other when taken together. An approach may seem sound at the outset of a project, but need to be revised when new requirements are discovered.

    When you “leave the path” of the directions, you discover their limitations. In order to solve the problems that occur at the edges, in order to adapt and deal with changes, in order to refactor and rewrite as needed, you need to understand the underlying principles of the JavaScript programming language in detail.

    “This book is awesome and blowing my mind in a great way.” Johnathan Mukai

    You need to understand why the directions work so that you can understand how to modify them to work properly at or beyond their original limitations. That’s where JavaScript Allongé comes in.

    JavaScript Allongé is a book about programming with functions, because JavaScript is a programming language built on flexible and powerful functions. JavaScript Allongé begins at the beginning, with values and expressions, and builds from there to discuss types, identity, functions, closures, scopes, and many more subjects up to working with classes and instances. In each case, JavaScript Allongé takes care to explain exactly how things work so that when you encounter a problem, you’ll know exactly what is happening and how to fix it.

    “Enjoying Javascript Allonge… I think it’s the best discussion of functional programming in js I’ve found so far.” Nicholas Faiz

    Second, JavaScript Allongé provides recipes for using functions to write software that is simpler, cleaner, and less complicated than alternative approaches that are object-centric or code-centric. JavaScript idioms like function combinators and decorators leverage JavaScript’s power to make code easier to read, modify, debug and refactor, thus avoiding problems before they happen.

    JavaScript Allongé teaches you how to handle complex code, and it also teaches you how to simplify code without dumbing it down. As a result, JavaScript Allongé is a rich read releasing many of JavaScript’s subtleties, much like the Café Allongé beloved by coffee enthusiasts everywhere.

    “Reading JavaScript Allongé by @raganwald. This book is so good that it’s blowing my mind.” Guillermo Pascual

    Table of Contents

    Chapter 1. The first sip: Basic Functions
    Chapter 2. The Recipe Cheat Sheet
    Chapter 3. Recipes with Basic Functions
    Chapter 4. The Pause That Refreshes: Rebinding and References
    Chapter 5. Recipes with Rebinding and References
    Chapter 6. Stir the Allongé: Objects, Mutation, and State
    Chapter 7. Recipes with Objects, Mutations, and State
    Chapter 8. Finish the Cup: Instances and Classes
    Chapter 9. Recipes with Instances and Classes
    Chapter 10. Sequence
    Chapter 11. New Ideas
    Chapter 12. Recipes for New Ideas

    中文:

    书名:JavaScript Allongé

    读者在说什么

    安德烈·西多罗夫说:“我认为这是自塞奇威克的C语言算法以来,我读过的最好的技术书籍之一。”

    Emehrkay说:“我读过的书中,你对闭包的解释是我读过的最好的。”

    “这是一种与大多数其他地方不同的方法,它揭示了这种语言中一些更优雅的部分。”@Jeremymorrell

    还可以收听我们的JAVASCRIPT Jabber读书会播客:关于JAVASCRIPT Allongé!

    他们这么说的原因:
    对于雄心勃勃的JavaScript程序员来说,JavaScript allongé解决了两个重要问题。首先,JavaScript allongé为您提供了处理JavaScript错误、故障、边缘情况和其他潜在陷阱的工具。

    关于如何编写JavaScript程序,有很多很好的指导。如果你没有改变或偏离地遵循它们,你就会满意。不幸的是,软件是一个复杂的东西,充满了交互和副作用。两条完全合理的建议分开接受时,当放在一起时可能会相互冲突。一种方法在项目开始时可能看起来是合理的,但当发现新的需求时,需要进行修订。

    当你“离开方向的道路”时,你会发现它们的局限性。为了解决出现在边缘的问题,为了适应和处理变化,为了根据需要进行重构和重写,您需要详细了解Java编程语言的基本原理。

    “这本书太棒了,让我大吃一惊。”–乔纳森·穆凯

    您需要了解这些指令为什么起作用,以便您能够了解如何修改它们以使其在达到或超过其原始限制时正常工作。这就是JavaScript allongé发挥作用的地方。

    JavaScript allongé是一本关于使用函数进行编程的书,因为JavaScript是一种构建在灵活而强大的函数之上的编程语言。JavaScript allongé从头开始,从值和表达式开始,然后从那里开始讨论类型、标识、函数、闭包、作用域以及更多主题,直到处理类和实例。在每种情况下,JavaScript allongé都会仔细解释事情是如何工作的,这样当您遇到问题时,您就会确切地知道发生了什么以及如何修复它。

    “享受JAVASRIPT ALLOGE…我认为这是我到目前为止找到的关于JS中函数式编程的最好的讨论。

    其次,与以对象为中心或以代码为中心的替代方法相比,JavaScript allongé提供了使用函数编写更简单、更干净、更不复杂的软件的秘诀。像函数组合符和修饰符这样的JavaScript习惯用法利用了JavaScript的强大功能,使代码更易于阅读、修改、调试和重构,从而避免了问题的发生。

    JavaScript allongé教您如何处理复杂的代码,还教您如何简化代码而不使代码变得低级。因此,JavaScript allongé是一本丰富的读物,发布了许多JavaScript的微妙之处,就像各地咖啡爱好者喜爱的Caféallongé。

    “朗读由@raganwald编写的JavaScript allongé。这本书太棒了,让我大吃一惊。

    Table of Contents

    Chapter 1. The first sip: Basic Functions
    第二章:食谱小抄
    Chapter 3. Recipes with Basic Functions
    第4章.刷新的停顿:重新绑定和引用
    第5章.带有重新绑定和引用的食谱
    第6章:搅动一切:对象、突变和状态
    第7章:包含对象、突变和状态的食谱
    第八章:完成奖杯:实例和类
    第9章.带有实例和类的食谱
    第十章.顺序
    第十一章.新理念
    Chapter 12. Recipes for New Ideas

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册