JavaScript Allongé, the "Six" Edition
Programming from Functions to Classes in ECMAScript 2015
A long pull of functions, combinators, & decorators, written in modern JavaScript.
有会员资格
免费!
$19.99
支付金额
作者利润
关于
关于本书
What readers have to say:
“Spent the afternoon reading @raganwald's JavaScript Allongé, the Six Edition. Highly recommended. Let the refactoring begin!”—Marcus Vorwaller
“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
“This book is awesome and blowing my mind in a great way.”—Johnathan Mukai
“Enjoying Javascript Allonge... I think it's the best discussion of functional programming in js I've found so far.”—Nicholas Faiz
And listen to the JavaScript Jabber Book Club Podcast about JavaScript Allongé!
“Reading JavaScript Allongé by @raganwald. This book is so good that it's blowing my mind.”—Guillermo Pascual
捆绑包
本书页包含在这些优惠组合中:
- Pricing
$44.99
最低售价单独购买$54.99建议价格$44.99
作者
关于作者们
When he's not shipping CoffeeScript, JavaScript, Ruby, and Java applications scaling out to millions of users, Reg "Raganwald" Braithwaite creates programming libraries such as Allong.es, Method Combinators, Katy, JQuery Combinators, YouAreDaChef, andand, and others.
He writes primarily about programming. Find out more on his home page.
播客
Podcast Episode
用户评价
读者推荐语
JavaScript Allongé, the ‘Six' Edition is both a comprehensive tour of its features and a rich collection of techniques for making better use of them. You will learn much about functional programming and object-oriented programming. And you’ll do so via ES
Axel RauschmayerAuthor, “Exploring ES6"Allongé is a must-read book for any JavaScript developer. No single book changed my programming style and the way I approach problems quite like it did.
Jarvis BadgleyThis book is not the usual Learn the language in 24 hours or something like that. It’s actually a very sharp and deep reading about Javascript and function composition.
Daniel Pecos
目录
目录
A Pull of the Lever: Prefaces
- About JavaScript Allongé
- What JavaScript Allongé is. And isn’t.
- Foreword to the “Six” edition
- Forewords to the First Edition
Prelude: Values and Expressions over Coffee
- values are expressions
- values and identity
A Rich Aroma: Basic Numbers
The first sip: Basic Functions
- As Little As Possible About Functions, But No Less
- Ah. I’d Like to Have an Argument, Please.10
- Closures and Scope
- That Constant Coffee Craving
- Naming Functions
- Combinators and Function Decorators
- Building Blocks
- Magic Names
- Summary
Recipes with Basic Functions
- Partial Application
- Unary
- Tap
- Maybe
- Once
- Left-Variadic Functions
- Compose and Pipeline
Picking the Bean: Choice and Truthiness
Composing and Decomposing Data
- Arrays and Destructuring Arguments
- Self-Similarity
- Tail Calls (and Default Arguments)
- Garbage, Garbage Everywhere
- Plain Old JavaScript Objects
- Mutation
- Reassignment
- Copy on Write
- Tortoises, Hares, and Teleporting Turtles
- Functional Iterators
- Making Data Out Of Functions
Recipes with Data
- mapWith
- Flip
- Object.assign
- Why?
A Warm Cup: Basic Strings and Quasi-Literals
Stir the Allongé: Objects and State
- Encapsulating State with Closures
- Composition and Extension
- This and That
- What Context Applies When We Call a Function?
- Method Decorators
- Summary
Recipes with Objects, Mutations, and State
- Memoize
- getWith
- pluckWith
- Deep Mapping
The Coffee Factory: “Object-Oriented Programming”
Served by the Pot: Collections
- Iteration and Iterables
- Generating Iterables
- Lazy and Eager Collections
- Interlude: The Carpenter Interviews for a Job
- Interactive Generators
- Basic Operations on Iterables
A Coffeehouse: Symbols
Life on the Plantation: Metaobjects
- Why Metaobjects?
- Mixins, Forwarding, and Delegation
- Later Binding
- Delegation via Prototypes
- Shared Prototypes
Decaffeinated: Impostors
Finish the Cup: Constructors and Classes
- Constructors and
new - Why Classes in JavaScript?
- Classes with
class - Object Methods
- Why Not Classes?
- Summary
Recipes with Constructors and Classes
- Bound
- Send
- Invoke
- Fluent
Colourful Mugs: Symmetry, Colour, and Charm
Con Panna: Composing Class Behaviour
- Extending Classes with Mixins
- Functional Mixins
- Emulating Multiple Inheritance
- Preventing Property Conflicts
- Reducing Coupling
More Decorators
- Stateful Method Decorators
- Class Decorators beyond ES6/ECMAScript 2015
- Method Decorators beyond ES6/ECMAScript 2015
- Lightweight Traits
More Decorator Recipes
- After Method Advice
- Before Method Advice
- Provided and Unless
- Method Advice
Closing Time at the Coffeeshop: Final Remarks
The Golden Crema: Appendices and Afterwords
- How to run the examples
- Thanks!
- Reading JavaScript Allongé on Kindle
- Copyright Notice
- About The Author
作者的其他著作
作者的其他著作
Leanpub 无条件、零风险的100%满意保证
在支付后的60天内,只需简单点击两下,您便可以退书并且取回先前支付的全部金额。
查看完整条款。
在10美元的购买中赚取8美元,在20美元的购买中赚取16美元
我们在7.99美元或以上的购买中支付80%的版税,在0.99美元到7.98美元之间的购买中支付80%的版税减去0.5美元固定费用。在10美元的销售中您可赚取8美元,在20美元的销售中可赚取16美元。因此,如果我们以20美元的价格售出5000本未退款的图书,您将赚取80,000美元。
(是的,一些作者在Leanpub上已经赚取了远超过这个数额的收入。)
事实上,作者们通过在Leanpub上写作、出版和销售已经赚取了超过1400万美元。
了解更多关于在Leanpub上写作的信息
免费更新。无DRM。
如果你购买了Leanpub的书,只要作者更新这本书,你就可以免费获得更新!许多作者使用Leanpub在他们编写书籍的过程中发布他们的作品。所有读者都可以获得免费更新,无论他们何时购买的书或他们支付了多少钱(包括免费)。
大多数Leanpub书籍都提供PDF( 适用于计算机)、EPUB(适用于手机和平板电脑)和MOBI(适用于Kindle)格式。书籍包含的格式会显示在此页面的右上角。
最后,Leanpub的书籍没有任何DRM版权保护的限制,所以你可以轻松地在任何支持的设备上阅读它们。
在 Leanpub 上写作和出版
作者与出版社使用 Leanpub 来出版正在写作中和已完成的书籍,就像这本书一样。你也可以使用 Leanpub 来撰写、出版和销售你的作品!Leanpub 是功能强大的平台,非常适合认真的作者。它结合了简单、优雅的写作与出版流程,以及一个可销售正在写作中的电子书的线上商店。Leanpub 是作家的神奇之笔:只需编写纯文本,然后点击按钮即可出版你的电子书。真的就是这么简单。
学习更多关于在 Leanpub 上写作的信息