JavaScript Allongé

Programming from Functions to Classes in ECMAScript 2015

by Reginald Braithwaite

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

A long pull of functions, combinators, & decorators, written in modern JavaScript.

"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

"Reading JavaScript Allongé by @raganwald. This book is so good that it's blowing my mind." - Guillermo Pascual

This open book is licensed under a Creative Commons License (CC BY-SA). You can download JavaScript Allongé ebook for free in PDF format (22.1 MB).

Table of Contents

 
A Pull of the Lever: Prefaces
 
 
Prelude: Values and Expressions over Coffee
 
 
A Rich Aroma: Basic Numbers
 
 
The first sip: Basic Functions
 
 
Recipes with Basic Functions
 
 
Picking the Bean: Choice and Truthiness
 
 
Composing and Decomposing Data
 
 
Recipes with Data
 
 
A Warm Cup: Basic Strings and Quasi-Literals
 
 
Stir the Allongé: Objects and State
 
 
Recipes with Objects, Mutations, and State
 
 
The Coffee Factory: "Object-Oriented Programming"
 
 
Served by the Pot: Collections
 
 
A Coffeehouse: Symbols
 
 
Life on the Plantation: Metaobjects
 
 
Decaffeinated: Impostors
 
 
Finish the Cup: Constructors and Classes
 
 
Recipes with Constructors and Classes
 
 
Colourful Mugs: Symmetry, Colour, and Charm
 
 
Con Panna: Composing Class Behaviour
 
 
More Decorators
 
 
More Decorator Recipes
 
 
Closing Time at the Coffeeshop: Final Remarks
 
 
The Golden Crema: Appendices and Afterwords
 

Book Details

Subject
Computer Science
Publisher
Leanpub
Published
2019
Pages
511
Edition
6
Language
English
PDF Size
22.1 MB
License
CC BY-SA

Related Books

Deep Learning with JavaScript
Deep learning has transformed the fields of computer vision, image processing, and natural language applications. Thanks to TensorFlow.js, now JavaScript developers can build deep learning apps without relying on Python or R. Deep Learning with JavaScript shows developers how they can bring DL technology to the web. Written by the main authors of t...
Eloquent JavaScript
JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. This much anticipated and thoroughly revis...
JavaScript Notes for Professionals
The JavaScript Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....
Learning JavaScript
JavaScript is a programming language that conforms to the ECMAScript specification. It is an unofficial and free JavaScript ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow....
JavaScript for impatient programmers
This book makes JavaScript less challenging to learn for newcomers, by offering a modern view that is as consistent as possible. Highlights: - Get started quickly, by initially focusing on modern features. - Test-driven exercises and quizzes available for most chapters. - Covers all essential features of JavaScript, up to and including ES2020...
The JavaScript Beginner's Handbook
The JavaScript Beginner's Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. The author find this approach gives a well-rounded overview. This book does not try to cover everything under the sun related to JavaScript. It focuses on the core of the language, trying to simplify the more complex topics. The author hopes ...