Book Description
What if William Shakespeare were asked to generate the Fibonacci series or Jane Austen had to write a factorial program? In If Hemingway Wrote JavaScript, author Angus Croll imagines short JavaScript programs as written by famous wordsmiths. The result is a peculiar and charming combination of prose, poetry, and programming.
The best authors are those who obsess about language—and the same goes for JavaScript developers. To master either craft, you must experiment with language to develop your own style, your own idioms, and your own expressions. To that end, If Hemingway Wrote JavaScript playfully bridges the worlds of programming and literature for the literary geek in all of us.
Featuring original artwork by Miran Lipovaca.
Table of Contents
Chapter 1. Fibonacci
Chapter 2. Factorial
Chapter 3. Happy Numbers
Chapter 4. Prime Numbers
Chapter 5. Say It
中文:
书名:如果海明威写了
如果威廉·莎士比亚被要求制作斐波纳契系列,或者简·奥斯汀不得不编写阶乘程序,会发生什么?在……里面 如果海明威写了,作者Angus Croll想象了由著名文字工匠编写的简短的JavaScript程序。结果是散文、诗歌和编程的独特而迷人的结合。
最好的作者是那些痴迷于语言的人–对于JavaScript开发人员来说也是如此。要想精通这两门手艺,你必须尝试用语言来形成自己的风格、习惯用法和表达方式。为此, 如果海明威写了 开玩笑地为我们所有人中的文学极客搭建了编程和文学的世界。
以米兰·利波瓦卡的原创艺术品为特色。
目录表
第一章.斐波纳契
第二章阶乘
第三章.快乐的数字
第四章素数
第五章:说出来
评论前必须登录!
注册