Skip to content

Instantly share code, notes, and snippets.

@MaskRay
Created November 23, 2012 06:32
Show Gist options
  • Save MaskRay/4134245 to your computer and use it in GitHub Desktop.
Save MaskRay/4134245 to your computer and use it in GitHub Desktop.
Flesch Reading Ease Score of several programming books
% xargs -i sh -c 'echo -n "{} @ "; pdftotext "{}" - 2>/dev/null | ruby -e "require \"lingua\"; p Lingua::EN::Readability.new(STDIN.read).flesch"' < /tmp/books | sort -t@ -k2n
scheme/sicp.pdf @ 42.013863374063305
smalltalk/Joy of Smalltalk.pdf @ 47.861949781603954
falcon/Falcon Survival Guide.pdf @ 52.899363840845155
ruby/The Rails 3 Way.pdf @ 55.05629641057524
c/The C Programming Language.pdf @ 55.17174939358114
python/Learning Python.pdf @ 56.67476157760058
c++/C++ Primer.pdf @ 57.237840064930595
ruby/The Ruby Programming Language.pdf @ 57.75836947304364
haskell/Real World Haskell.pdf @ 58.23158652909788
ruby/Design Patterns In Ruby.pdf @ 58.38115962344389
lisp/Practical Common Lisp.pdf @ 62.514780602200034
javascript/JavaScript the Good Parts.pdf @ 63.33751151248492
lisp/Land of Lisp.pdf @ 63.483137453276356
prolog/Prolog Programming in Depth.pdf @ 63.65984334298793
ruby/The Well-Grounded Rubyist.pdf @ 64.18684385077023
prolog/Programming In Prolog.pdf @ 66.27630065565701
ocaml/Introduction to Objective Caml.pdf @ 67.16053318996552
lua/Programming in Lua.pdf @ 69.74464832391206
ruby/Programming Ruby.pdf @ 70.83812526478746
erlang/Programming Erlang: Software for a Concurrent World.pdf @ 71.79751534224798
haskell/LYAH.pdf @ 73.348808098198
python/Learn Python The Hard Way.pdf @ 90.91012574350434
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment