this post was submitted on 29 Jan 2024
132 points (88.4% liked)

Programming

17308 readers
228 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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)?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 9 months ago (1 children)

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.

[โ€“] [email protected] 1 points 9 months ago* (last edited 9 months ago)

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).

I do more than just programming on keyboards and some of the languages (spoken, not programming) I write in have accents and funny characters which don't even appear in a US Layout keyboard.

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 do have to climb and overcome the small learning-curve of learning to adjust to new keyboards, but once you have it's not at all a big deal to adjust to whatever you happen to get your hands on.