Typing for programmers: symbols, speed and shortcuts
Yes, programmers should learn touch typing. Code is not limited by typing speed, but looking at the keyboard breaks focus, and symbol typos cause bugs. Aim for 50+ WPM on prose, then practise the symbols your language uses most, and learn your editor's shortcuts. Fifteen minutes a day for two weeks makes a noticeable difference.
"Typing is not the bottleneck" is true: most coding time goes into reading, thinking and debugging. But the way you type still matters. If you look down to find a brace, you lose your place in the code. If a bracket goes in the wrong spot, you lose a minute to an error message. Touch typing removes both problems.
Practise with real code in our coding typing practice, with pages for JavaScript, Python, TypeScript, Go, Rust, SQL, HTML and CSS.
Should programmers learn touch typing?
- Focus: your eyes stay on the code, so you keep your train of thought and spot mistakes as they happen.
- Accuracy: fewer missing brackets, quotes and semicolons means fewer syntax errors and failed builds.
- Communication: developers write more prose than they expect: pull requests, reviews, docs, tickets and chat.
- Comfort: touch typing uses all ten fingers with less reaching, which is easier on hands over long days.
How fast should a programmer type?
There is no official number. A comfortable target is 50 WPM or more on normal text with 95% accuracy, which is above the average typing speed. Code speed will be lower because of symbols, and that is fine. What matters is typing without looking. Check yours with a 1 minute typing test.
The symbols to practise for each language
- JavaScript:
( ) { } => ` ${ }and===. - TypeScript: colon, angle brackets and the pipe:
: < > |. - Python: colon, underscore and brackets:
: _ [ ], plus f-strings. - Go:
:=, pointers* &and format verbs like%s. - Rust:
:: & -> =>and closure pipes. - SQL: commas, quotes and uppercase keywords.
- HTML and CSS: angle brackets, slash, equals and quotes; colon, semicolon, braces and hyphens.
Which finger types which symbol
Most symbols sit on the right side of the keyboard and need Shift, so the right pinky does a lot of work:
- Right pinky:
; : ' " [ ] { } ) - _ = + \ |. - Right ring:
( >(on 9 and the full stop). Right middle:* <(on 8 and the comma). - Number row:
! @ # $ % ^ &with the same finger as the number below it. - Shift: always the opposite hand. Right-side symbols use left Shift.
If your right pinky is weak, it shows up as slow brackets and quotes. Our pinky drill targets exactly that.
Real snippets in 8 languages, with Enter and auto-indent. Free.
Practise typing codeEditor shortcuts worth learning
- Move by word: Ctrl or Option with the arrow keys, instead of holding an arrow.
- Select by word or line: add Shift to the move shortcuts.
- Delete by word: Ctrl or Option with Backspace.
- Multiple cursors: select the next match (Ctrl or Cmd+D in many editors) to edit several places at once.
- Command palette and go to file: learn the two keys your editor uses for these. They save more time than any typing speed gain.
A 2 week plan for developers
- Days 1 to 4: 10 minutes of touch typing lessons if you look at the keys; otherwise smart practice on your weakest keys.
- Days 5 to 10: 5 minutes of prose, then 10 minutes of code in your main language.
- Days 11 to 14: code in a second language, and retake the 1 minute test to compare.
Frequently asked questions
Do programmers need to type fast?
+
Not extremely fast, but touch typing matters. It keeps your eyes on the code and cuts symbol typos. 50 WPM or more on prose is a comfortable target.
Why is typing code slower than typing text?
+
Code uses many shifted symbols, brackets and exact spacing. Most people type code at well below their prose speed.
Is it worth learning touch typing as a developer?
+
Yes. It takes a few weeks of short practice, and you type every day for the rest of your career.
How do I practise typing code?
+
Type real snippets in your language with Enter and auto-indent, and focus on the symbols you miss most. Our coding typing practice has pages for eight languages.
Real snippets in 8 languages, with Enter and auto-indent. Free.
Keep reading
How to type faster: 15 tips that actually work
15 practical ways to type faster: touch typing, posture, accuracy first, weak-key drills and a daily routine. A clear 30 day plan to add 10 to 20 WPM.
Touch typing: the complete beginner's guide
Learn touch typing step by step: home row position, which finger presses each key, a 4 week practice plan and common mistakes. Free lessons to start today.
10 key typing: how to type numbers fast on the numpad
Learn 10 key typing: the home keys 4 5 6, which finger presses each numpad key, what KPH means, good 10 key speeds for jobs and drills to get faster.