I've been thinking a lot about how we use keyboards, especially as coders, so I ran some frequency analysis on a Drupal installation to see how often certain characters are used, with a view to optimise my keyboard. Specifically, I was looking at non-letter characters (specials and numbers). The code that does this is available as a simple drush command here.
Here are the results:
SPACE --- 2747986
' --- 486004
LF --- 430118
_ --- 238795
$ --- 234498
) --- 197119
( --- 197115
= --- 156975
, --- 153406
> --- 145194
/ --- 123651
; --- 104608
* --- 102685
. --- 93372
- --- 87662
[ --- 74840
] --- 74831
{ --- 44167
} --- 44147
: --- 22891
" --- 22035
# --- 20217
@ --- 16544
1 --- 14906
& --- 11903
< --- 11178
! --- 10429
2 --- 9221
? --- 5285
% --- 5058
3 --- 4684
\ --- 4317
5 --- 3921
+ --- 3620
9 --- 3559
| --- 3291
4 --- 3182
6 --- 2917
7 --- 2761
8 --- 2177
? --- 442The major observation is that the number keys across the top of the keyboard should be inverted, so that SHIFT+NUM actually types a number, whereas hitting the key creates the symbol. The symbols are used FAR more frequently than the numeric counterparts. Especially the () brackets, the $ and the *.
The next interesting one is that the underscore is around 3 times more frequent than the dash. Worthy of a swop too.
I'm going to use ControllerMate to swop these all out.












Recent comments
26 weeks 2 days ago
26 weeks 2 days ago
27 weeks 3 days ago
36 weeks 3 days ago
1 year 4 weeks ago
1 year 5 weeks ago
1 year 5 weeks ago
1 year 9 weeks ago
1 year 14 weeks ago
1 year 15 weeks ago