JavaScript Allongé (ES5)
JavaScript Allongé (ES5)
$26.99
Minimum price
$34.99
Suggested price
JavaScript Allongé (ES5)

This book is 100% complete

Completed on 2015-10-03

About the Book

JavaScript Allongé has been retired. Please visit JavaScript Allongé, The “Six” Edition, the updated edition. The "Six" Edition covers the latest additions to the JavaScript language, including classes, iterators, generators, and much more. JavaScript Allongé, The “Six” Edition is also free to read online.

  • Share this book

  • License

About the Author

Reg “raganwald” Braithwaite
Reg “raganwald” Braithwaite

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.

Table of Contents

  • A Pull of the Lever: Prefaces
    • Foreword by Michael Fogus
    • Foreword by Matthew Knox
    • Why JavaScript Allongé?
    • A Personal Word About The Recipes
    • Legend
    • JavaScript Allongé, the “Six” Edition
  • Prelude: Values and Expressions
    • values and expressions
    • values and identity
  • 1. The first sip: Basic Functions
    • As Little As Possible About Functions, But No Less
    • Ah. I’d Like to Have an Argument, Please.
    • Closures and Scope
    • Let’s Talk Var
    • Naming Functions
    • Combinators and Function Decorators
    • Building Blocks
    • I’d Like to Have Some Arguments. Again.
    • Summary
  • 2. The Recipe Cheat Sheet
  • 3. Recipes with Basic Functions
    • Partial Application
    • Ellipses and improved Partial Application
    • Unary
    • Tap
    • Maybe
  • 4. The Pause That Refreshes: Rebinding and References
    • Arguments and Arrays
    • References and Objects
    • Reassignment and Mutation
    • How to Shoot Yourself in the Foot With Var
    • When Rebinding Meets Recursion
    • From Let to Modules
    • Summary
  • 5. Recipes with Rebinding and References
    • Once
    • mapWith
    • Flip
    • Extend
    • Why?
  • 6. Stir the Allongé: Objects, Mutation, and State
    • Encapsulating State with Closures
    • Composition and Extension
    • This and That
    • What Context Applies When We Call a Function?
    • Method Decorators
    • Summary
  • 7. Recipes with Objects, Mutations, and State
    • Memoize
    • getWith
    • pluckWith
    • Deep Mapping
  • 8. Finish the Cup: Instances and Classes
    • Prototypes are Simple, it’s the Explanations that are Hard To Understand
    • Binding Functions to Contexts
    • Partial Application, Binding, and Currying
    • A Class By Any Other Name
    • Object Methods
    • Extending Classes with Inheritance
    • Summary
  • 9. Recipes with Instances and Classes
    • Currying
    • Bound
    • Unbinding
    • Send
    • Invoke
    • Fluent
    • Once Again
  • 10. Sequence
    • Introduction: Compose and Pipeline
  • 11. New Ideas
    • How Prototypes and Constructors differ from Classes
    • New-Agnostic Constructors
    • Another New-Agnostic Constructor Pattern
    • Mixins
    • Class Decorators
    • Interlude: Tortoises, Hares, and Teleporting Turtles
    • Functional Iterators
    • Refactoring to Functional Iterators
    • A Drunken Walk Across A Chequerboard
    • Trampolining
  • 12. Recipes for New Ideas
    • Before
    • After
    • Provided and Except
    • A Functional Mixin Factory
    • A Class Decorator Factory
    • Iterator Recipes
  • The Golden Crema
    • Author’s Notes
    • How to run the examples
    • Thanks!
    • JavaScript Spessore
    • Copyright Notice
    • About The Author

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub