this post was submitted on 29 Jan 2024
128 points (88.1% liked)

Programming

16971 readers
374 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
[–] where_am_i -5 points 7 months ago (1 children)

I just explained what the issues are. Programming languages heavily rely on special symbols.

If you haven't watched yourself from the outside, how do you know "there are zero issues with it"? You might be constantly breaking the typing flow and need to use a two-hand combo for some mundane []. While someone on a US layout never needs to lift their hands of the keys, because all they need is a ctrl with a pinky + right hand within reach.

When I learn a new language, I also learn a keyboard layout for it. Or do you also write in Spanish on your keyboard? How do you make an à and an á?

Ah, that's right, you speak two languages, you're stuck using your comfort zone layout, and you'd ofc argue "zero issues".

[–] [email protected] 4 points 7 months ago

If you haven't watched yourself from the outside, how do you know "there are zero issues with it"? You might be constantly breaking the typing flow and need to use a two-hand combo for some mundane [].

Because I don't have the issue you're projecting. And if someone do have that issue, what type of programmer (assuming no physical disabilities) has their productivity limited by their typing speed? No one would be my guess.

While someone on a US layout never needs to lift their hands of the keys, because all they need is a ctrl with a pinky + right hand within reach.

Cool, same here , just that sometimes we press alt gr instead of ctrl.

When I learn a new language, I also learn a keyboard layout for it. Or do you also write in Spanish on your keyboard? How do you make an à and an á?

ctrl + \ and then a for à and alt gr + \ then a for á. It's really not much of a hurdle. And definitely faster than trying to learn a new keyboard layout that I can't type on without looking.

Ah, that's right, you speak two languages, you're stuck using your comfort zone layout, and you'd ofc argue "zero issues".

Are we talking actual languages or programming languages? Either case, you assumption is wrong. I don't understand where all your antagonistic energy is coming from. It's just a keyboard layout, there isn't a single correct one. Just use what you're used to and that you can write with a good flow, which for most people will be the layout they grew up with and can type in the blind with.