No Starch Press

If Hemingway Wrote JavaScript


In Twitter engineer Angus Croll’s new book “If Hemingway Wrote JavaScript,” he imagines how well-known literary figures from James Joyce to J.D. Salinger to Tupac would write JavaScript code. It’s a fun, creative exercise that reminds programmers of the similarities between Javascript and natural language—and pushes them to be expressive and elegant in their own way.