It is nice that there are services such as TypeRacer where you can practice casual writing but I want to practice programmer keys, covers more numbers and keys not used by regular typist. There was some tutor with which I practiced some programmer keys and noticed that my speed dropped dramatically from 70-80 wpm to even about 15-30 wpm, it also trains different muscles. So how can I practice just programming keys with programming texts or just random code pieces?
|
closed as off topic by gnat, Blrfl, Walter, Robert Harvey, ChrisF♦ Nov 2 '12 at 23:38
Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
Print out some code or display it on a second monitor and re-type it. Note: I find my typing speed is not my largest bottleneck for programming. The amount of time it takes to type the syntax is small compared to the time spend thinking about, designing, debugging, etc. the same code. |
|||||||||||||||||||||
|
|
Although I totally agree with jzd's answer that typing speed is practically irrelevant since it is so small compared to the time you need to think about the code, out of my own experience I can recommend the following approach to improve your typing speed. First of all, like lfx says, just type code which you are already doing anyway, but while doing so, just force yourself not to look at the keyboard at all ... ever. Only if you haven't got a clue at all where a certain symbol is, look for it and type it without looking at your keyboard afterwards, and force yourself to do so with the correct finger(s). This will slow you down a lot at first, but after a while your brain wires up correctly and you can program while looking at you screen constantly. After that, the more you program, the more fluent you will get. Perhaps more importantly, don't forget to familiarize yourself with common shortkeys which prevent you from reaching for your mouse. Two of my favorites in Visual Studio are F12 (go to declaration) and ctrl-(-) (go to previous location). Be able to reach your Home and End keys blindly will also improve your speed in cutting and pasting entire lines/blocks and so on ... |
|||||||
|
|
Depending on the language you use, some types of programs require a lot of typing. For example, in Java, writing a Swing application from scratch requires the instantiation and association of so many classes and objects that you'll improve your typing by the time it's fully functional. In most languages database-related code is very verbose and typically involves a lot of strings, flags and escaping. So just writing a piece of database code can help as well. If you just complete a Swing or database tutorial you'll focus mostly on typing (and maybe learn something else along the way). |
|||
|
|
|
One thing that helped me tremendously was buying a Das Keyboard. It has no markings on it and forced me to develop muscle memory for all of the non-alphanumeric keys. As a bonus, it also has that satisfying, old-time clicky feel. |
|||
|
