A better keyboard layout for programming

Dom Habersack
Dom HabersackFebruary 12, 2020

When you buy a new computer, it comes equipped with your country’s keyboard layout by default. Most layouts are not ideal for programming, which many of us spend most of our day doing. I switched to the US layout ten years ago, and found it a lot more useful for my work. I would not buy another computer without it.

The German keyboard layout looks like this:

The full German keyboard layout
The full German keyboard layout

It comes with dedicated keys for umlauts (ä, ö, ü) and a double-height return key:

The right section of the German keyboard layout
The right section of the German keyboard layout

If you work and write mostly in English, you rarely need these letters. We developers need all kinds of brackets and slashes much more than umlauts. Finding them on the German layout is difficult, because they are not always printed on the keys. They are accessible through combinations, so you need to memorize that Option+5 is [ and Option+9 is }. If you forget, finding them turns into an annoying game of trial and error.

Compare that to the US keyboard layout:

The full US keyboard layout
The full US keyboard layout

It looks very similar. “z” and “y” switched places, and the return-key has a different shape. It has dedicated keys for our special characters where the German layout has umlauts:

The right section of the US keyboard layout
The right section of the US keyboard layout

Being able to find those symbols with a quick glance has made programming a lot more efficient for me. If you type mostly in English, the US keyboard layout could make life a little easier for you. You will certainly no longer need to remember those key combinations.

– Dom

PS: You can still write umlauts on non-German layouts. Typing Option+U in macOS and iPadOS gets you a set of dots (¨) that turn the next letter you type into an umlaut. Even on my US keyboard layout, I can quickly type ä, ö, and ü in my regular typing speed.

Continue reading

January 29, 2020

Texting faster

iOS 13 now has a built-in swipe keyboard called “QuickPath” that is much faster than typing individual letters.

Read full article
October 28, 2020

The main branch in git

There was never a technical reason for us to call the source of truth “master” in Git. We can rename it to “main” or any other term in a few minutes.

Read full article

Read all articles →