I’ve used a US-QWERTY keyboard layout my entire life. I’ve seen other layouts that do things like reduce the size of the enter/backspace keys, move the pipe operator (|
) and can’t wrap my head around how I would code on those.
What are your experiences? Are there any layouts that you prefer for coding over US English? Are there any symbols that you have a hard time reaching ( for example)?
I’ve used various layouts of non-US keyboards over time since I’ve lived and worked in various countries in Europe and whilst you do start by looking down to find stuff and for a while will at times unthinkingly choose the “old” position for a symbol when touch typing, you just get used to the new layout in a month or two, even if touch typing - your brain just starts directing your fingers to the new positions.
That said, for seldom used symbols you still have to look down and check on which key that symbol is (it’s generally printed on the key), I suppose because you don’t really exercise those enough for your brain to reliably start sending your fingers to the new position without looking.
(So given the languages I usually program with, for stuff like semicollon and open and close brackets and parentesis the brain quickly adjusts but stuff like the dollar sign I still have to look down and check, which is really noticeable if for some reason I have to do some shell scripting or similar)
Things like letters and numbers don’t change position so that’s not a problem.
Once you’ve become accustomed to a new layout, switching keyboards between those layouts is a bit like switching the side of the road you’re driving (say, between the UK and Continental Europe) - you get a couple of hours of extra memntal tension and having to think things a bit more at first and after that you’ve fully readjusted.
Is there any reason why you didn’t just switch the keyboard layout to US if that’s what you’re used to?
I switched to US at some point because many if the keys for programming were just so much easier to access. If I have to use a pc for any decent amount of time, I just switch the OS layout to US now regardless of the layout that’s printed on the keyboard.
I’m not used to the US Keyboard layout.
I think I only used it when I got a cheap second hand notebook in Canada during my vacations there.
The reason not to change the keyboard layout to something different from the physical layout is that once in a while you have to use a seldom used symbol for which you don’t really have the touch-typing muscle memory, and looking at a physical keyboard with a different layour from the one you’re using at the software level won’t tell you were that symbol is, turning the whole thing into an unnecessary PITA of trying to find it by trial and error (I usually get this the other way around: when the software defaults to US Layout but my actual keyboard doesn’t have that layout).
Also sometimes you really don’t have much of a choice if you’re in some country and the local employer/hotel/internet-caffee provides some local keyboard and you don’t have the permissions to change the layout in the OS.
Yeah, yeah, you have to overcome the lazy-hill of learning to adjust to new keyboard, but once you have it’s not at all a big deal.