JavaScript is both bizarre and beautiful. It is a language in which 0.1 + 0.2 is not equal to 0.3. But It is also the most used language for open source contributions on GitHub. Inspired by the infinite quirks of JavaScript, Angus Croll, the creator of popular blog JavaScript JavaScript, authored If Hemingway Wrote JavaScript, a book in which he imagines 25 famous novelists, poets and playwrights solving simple problems in JavaScript.

Croll spoke to us about his lovingly-crafted book and commented, “This book is for anyone who loves language. JavaScript is this unconventional language that computer scientists tend to look down on and disparage.”

While some find JavaScript’s syntax and semantics endlessly frustrating, Angus considers its malleability its core strength, “Part of what the book tries to say is that JavaScript is quirky and magical and ridiculously expressive–it has more in common with spoken languages than boring conventional software languages, and that’s something to be proud of.”

Each chapter is dedicated to a specific author, poet or playwright, everyone from Hemingway, Salinger and Shakespeare to Kafka, Kerouac and Tupac. The chapters are spliced with poetic interludes, which use famous literary excerpts to explain features of the language, such as variables, lost callbacks, and refactors.

The book should appeal to lovers of all languages - computer and non-computer alike. Croll explains, “I’m hoping the book also appeals to devotees of literature (speaking as a devotee of literature) and might pique the curiosity of those who have not read some of the featured authors.”

JavaScript is the most popular programming language on Honeypot, with developers in Berlin earning between €30,000 - €60,000 depending on experience.

Angus has been kind enough to share some excerpts from the book below:

jane-austen-javascript

jane-austen-javascript

jane-austen-javascript

jane-austen-javascript

jane-austen-javascript

jane-austen-javascript


Emma Tracey

Emma Tracey

Emma is Co-Founder at Honeypot. Born in Dublin, Emma moved to Berlin after spending time in Colombia and South Africa. She is a former journalist and likes to write about team culture and diversity.