Skip to content

Instantly share code, notes, and snippets.

@thegreatape
Created August 16, 2014 18:59
Show Gist options
  • Save thegreatape/f2a4877bff4e242b3e87 to your computer and use it in GitHub Desktop.
Save thegreatape/f2a4877bff4e242b3e87 to your computer and use it in GitHub Desktop.
Parentheses per line in Ring vs Express.js
$ wc -l ring/**/*.clj
5418 total
$ fgrep -o "(" ring/**/*.clj | wc -l
3790
$ wc -l express/**/*.js
14745 total
$ fgrep -o "(" express/**/*.js | wc -l
9528
# .646185148 "(" per line in express.js: https://github.com/strongloop/express
# .699520118 "(" per line in ring: https://github.com/ring-clojure/ring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment