If Hemingway Wrote JavaScript

by Angus Croll

September 2014, 184 pp.
ISBN: 978-1-59327-585-3

Use coupon code PREORDER to get 30% off!
Contents | Reviews | Updates

What if William Shakespeare were asked to generate the fibonacci series or Jack Kerouac had to write a factorial program? In If Hemingway Wrote JavaScript, prose and poetry meet code as author Angus Croll explores what it would look like if wordsmiths were to write short JavaScript programs.

The best authors and the best JavaScript developers are those who obsess about language, who explore and experiment with language every day and in doing so develop their own style, their own idioms, and their own expression. By combining literary lines of code and reinvented poetry with JavaScript, If Hemingway Wrote JavaScript bridges the worlds of programming and literature with a light and playful spirit for the literary geek in all of us.

Featuring original artwork by Miran Lipovača.


About the Author

Angus Croll is obsessed with JavaScript and literature in equal measure. He works on Twitter's UI framework team where he co-authored the Flight framework. He writes the influential JavaScript, JavaScript blog and speaks at conferences worldwide.


Table of Contents

Introduction

Fibonacci

1 Ernest Hemingway
2 William Shakespeare
3 André Breton
4 Roberto Bolaño
5 Dan Brown

Factorial

6 Jack Kerouac
7 Jane Austen
8 Samuel Johnson
9 Sir Arthur Conan Doyle
10 James Joyce

Happy Numbers

11 J.D. Salinger
12 Tupac Shakur
13 Virginia Woolf
14 Geoffrey Chaucer
15 Vladimir Nabokov

Prime Numbers

16 Jorge Luis Borges
17 Lewis Carroll
18 Douglas Adams
19 Charles Dickens
20 David Foster Wallace

Say It

21 Sylvia Plath
22 Italo Calvino
23 J.K. Rowling
24 Arundhati Roy
25 Franz Kafka

Poetic Interludes

1 Edgar Allan Poe
2 William Shakespeare
3 Dylan Thomas
4 Walt Whitman

(top)