
If Hemingway Wrote JavaScript
by Angus Croll · first published 2015
10mentions
9recommended by
10HN commenters
2014–2023first – last mentioned
90% recommend10% neutral
Why HN recommends it
Playful, parody-driven book that imagines short programs written in the voices of famous authors, showing how style shapes code; recommended as a fun, lighthearted read for programmers.
Summarised by Claude from recommending comments
"Imagines short JavaScript programs as written by famous wordsmiths."--Back cover.
Affiliate links. As an Amazon Associate I earn from qualifying purchases.








Haha, reminds me of "If Hemingway Wrote JavaScript" https://www.amazon.com/Hemingway-Wrote-JavaScript-Angus-Crol... which is actually kind of amusing and creative.
on “Ask HN: Best way to host a website for 500 years?” ↗"Learn You a Haskell" by Miran Lipovača: http://learnyouahaskell.com/ "Learn You Some Erlang for great good" by Fred Hebert: https://learnyousomeerlang.com/ "If Hemingway Wrote JavaScript" by Angus Croll: https://nostarch.com/hemingway "Clojure for the Brave and True" by Daniel Higginbotham: https://www.braveclojure.com/clojure-for-the-brave-and-true/
on “Ask HN: Fun Tech Book Recommendations?” ↗Somewhat related is a recently published book by Angus Croll called If Hemingway Wrote Javascript[0]. It's not so much about Javascript as it is about the writing styles of great authors and the expressiveness inherent in writing code. [0] http://www.nostarch.com/hemingwayjs
on “Software engineers should write” ↗There is a rather obscure book titled "If Hemingway Wrote Javascript" by Angus Croll https://www.goodreads.com/book/show/21487480-if-hemingway-wr... that contains literary reviews and source code in a variety of programming languages. It's hard to describe this book;…
on “Any examples of writing/authors who write with algorithmic style – like code?” ↗“If Hemingway Wrote JavaScript” Different and lighthearted enough for me to recommend.
on “Ask HN: Any good Technical books with hilarious presentation?” ↗Since you want impractical suggestions, you might enjoy “if Hemingway wrote JavaScript”
on “Ask HN: Most interesting, mildly impractical, well-written books on software?” ↗"If Hemingway Wrote Javascript" (https://www.nostarch.com/hemingway, see also https://javascriptweblog.wordpress.com/2015/01/05/if-hemingw...), in which five short programs are each written in five different styles (all in Javascript).…
on “Ask HN: What are some examples of beautiful software?” ↗I feel compelled to link to If Hemingway Wrote JavaScript https://www.nostarch.com/hemingwayjs. It actually imagines what kind of code Virginia Woolf would actually write. It's a fun and interesting read.
on “To write better code, read Virginia Woolf” ↗I’ve gotta mention If Hemingway Wrote JavaScript, an excellently funny book, relevant to the thread. https://anguscroll.com/hemingway/
on “If PHP Were British (2011)” ↗'Math less traveled' make one less of a programmer? [1] [1] Esperanto centered example: "If Hemingway Wrote JavaScript" by Angus Croll
on “Ask HN: How do I turn this around?” ↗