Preferred keyboard layout for programming

I started programming about two months ago, I think now, and I'm fooling myself in C # or Clojure (I have serious problems with the solution). Anyway; I am from Norway and we use a different keyboard layout than English-speaking countries. I don’t know how, for example, a comparison with a German keyboard or Francis compares with ours, but it’s actually a pain to code ( Norwegian QWERTY -layout for those who are interested).

Anyway; reaching () , [] and {} really makes my fingers hurt because I have to stretch my fingers. In addition, although this is insignificant, it still makes me pretend, <> also hurts to reach.

So, I was wondering if anyone has any tips on using a layout? Does () , [] and {} achieve much better in English QWERTY-layout or almost the same? And finally; Is DVORAK a Good Layout for Programming?

Thanks in advance:)

+6
language-agnostic keyboard typing
source share
5 answers

C-like programming languages ​​show off their American-American heritage with pride, using characters that are awkwardly available for most other keyboard layouts. I resorted to US International , which allows me to type {}[]\ without breaking my fingers, but at the same time I can still type characters like ä, ö, ü and ß that I don’t want to pass in my own language (some others use an American layout, and I feel physical pain every time my spelling is sacrificed for their convenience).

Yard at least looks good enough for this. However, the cost of changing the layout is probably much higher than for another QWERT [YZ] layout.

+4
source share

You can also tailor the layout to your needs with Microsoft Keyboard Layout Creator. The small problem with this, of course, is that it will not make the captions on the physical keys move. To do this, you will need an incredibly expensive Optimus Maximus keyboard.;)

+2
source share

Disclosure: I am biased. :-)

By the way, I am also from Norway! US Qwerty is better at programming than Norwegian Qwerty. However, he strains the right little finger and has the wrong combination of hands and fingers.

Fifteen years ago, I told myself: there should be a better way to place the characters that are used to program the keyboard than this. And so I created the "Programmer Dvorak" layout, which is specifically designed to simplify the input of characters in brackets that are commonly used in programming languages ​​such as Clojure and C #.

As the base for the alphabet keys, I chose the (classic) Dvorak layout, which I consider to be the best, scientifically documented layout for the English language. Even when programming, most of what you enter is prose (keywords, function names, comments, documentation).

For me, I consider this a great success: I no longer have finger muscle fatigue, and I print as quickly as possible, if not faster than before.

But, a keyboard with a fixed number of positions, there are some tradeoffs: if one key is assigned a new place, then the one that previously occupied this place should also be moved. The trick is to get advantages over disadvantages.

The main thing I did was collapse the number keys to change the status, and the Nordic characters for the composed ones. If you primarily write your own language, this may not suit you.

If you want to teach yourself Dvorak, then be prepared for a transitional period of three to six months of very slow typing. I did this by writing a dissertation.

+2
source share

I was going to recommend DVORAK, the DVORAK Programmer, or even the Norwegian DVORAK , but it seems that reaching for these curly braces and other characters will still be less ideal.

Sondrizzle, is this not a problem because you need to twist your right hand for AltGr? If so, were you looking for a keyboard with two AltGr keys, one on the left and one on the right? How about mapping the cap-lock key to AltGr? It looks like this might be your best immediate solution.

+1
source share

Throughout the whole time I studied both American and native (Serbian) layouts and used them one at a time. I compared CapsLock as the key to changing the layout, and the OS remembers which one is active in the application, so I don’t need to constantly switch between them: in Firefox it is most Serbian, and in the terminal - NetBeans, etc. this is all time usa. No custom layouts, no awkward keyboard shortcuts for striking out characters in the basic layout.

I never considered learning Dvorak for coding. Instead, I prefer to use the succint programming languages ​​.;)

0
source share

All Articles