Chapter 24. Simulating Typos with Perl
Quoth the raven, “Nwvermpre!”
About two years ago, I switched to typing on the Dvorak keymap. That meant going from the Sholes “QWERTY” keymap:
` 1 2 3 4 5 6 7 8 9 0 - = \
q w e r t y u i o p [ ]
a s d f g h j k l ; '
z x c v b n m , . /to August Dvorak’s more efficiency-minded keymap:
` 1 2 3 4 5 6 7 8 9 0 [ ] \
' , . p y f g c r l / =
a o e u i d h t n s -
; q j k x b m w v zIt was just a matter of switching the keymap preferences on whatever computers I had to type on, and then a few days of acclimating to all the keys having moved. This had the two desired effects: my hands would no longer ache after marathon coding sessions, and no one ever touched my computer again.
But there was one side effect I hadn’t anticipated: a different keymap means different kinds of typos. This became evident to me first on IRC. Since IRC is a medium characterized by people typing faster than they can think, typos abound:
<Wuglife>I hear it's out on video nowme>I know, I sow it a wook age.<Wuglife>sow?<Koolmodey>wook age?<Mugsy>GWAWRR! BEWARE THE AGE OF THE WOOK!me>I mean I sAw it a wEEk agO. <Koolmodey>guh, how do you manage to aim for'e' and hit 'o' instead? they're ondifferent sides of the keyboardme>They're right next to eachother on mine.I use a Dvorak keyboard. The middle rowgoes: "aoeuidhtns".<Koolmodey>that's because you're a communistme>columnist<Koolmodey>yea like dvorakme>different Dvorak. August, not John.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access