How it works
This code typing test gives you 20 short snippets full of brackets, colons and quotes: six in Python, six in JavaScript, four in Java and four in SQL. Every one runs. The indent of each line is shown, not typed.
Read the full guide
Pick a snippet, then type it
The test opens on Count the words in a string. Choose another from the list of snippets, sorted by language. Type each line as shown and press Enter at the end of it. Capitals and every symbol count.
Why code is slower than prose
Code packs in symbols that need Shift and the little fingers, and few of the letter patterns your hands know. Speed counts five characters as a word, so a line of brackets weighs as much as a line of words.
- Type the closing bracket and quote yourself, even though your editor adds them. It is the key you never practise.
Questions and answers
Do I have to type the spaces at the start of a line?
No. The indent is shown but not typed, as in an editor that indents for you. Start from the first character you see and finish the line with Enter.
Is there a typing test for programmers in one language only?
The list sorts the snippets by language: Python, JavaScript, Java and SQL. Pick from one group and stay there. With No timer a run ends when the snippet does.
Does the code run?
Nothing runs on this page, but every snippet was run before it was added, so you type working code, not a jumble of symbols. The source note under the tool says how each language was checked.