Hacker News new | comments | show | ask | jobs | submit login

Nice! I was curious how it looks for actual code, so I added a few random code examples (HTML5 Boilerplate index.html, JQuery grunt.js) and reran it:

  texts/index.html:
  colemak:
    alternation_effort: 799
    reach_effort: 1100
    raw_score: 1899
  dvorak:
    alternation_effort: 695
    reach_effort: 1166
    raw_score: 1861
  qwerty:
    alternation_effort: 779
    reach_effort: 1490
    raw_score: 2269

  texts/grunt.js:
  colemak:
    alternation_effort: 4243
    reach_effort: 5588
    raw_score: 9831
  dvorak:
    alternation_effort: 3510
    reach_effort: 6226
    raw_score: 9736
  qwerty:
    alternation_effort: 4577
    reach_effort: 7373
    raw_score: 11950
Sent you a pull request with the minor changes, in case you're interested.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: