this post was submitted on 29 Jan 2024
132 points (88.4% liked)
Programming
17270 readers
39 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Never used a US keyboard in my life. Why would you think US keyboard is the norm?
You're on /c/programming.
Also, it's even ISO standardized, so yeah, it's an international norm.
Pragmatically: most programming languages are developed in a way to that it's easy to type them up on a standard us layout. As English only has 26 letters, which is less than any other language using the latin alphabet (don't even start me on languages with accents like ñ or that differentiate between à, a, á, and â), all the special characters are usually easily accessible. Most others layouts will tuck them away behind non-trivial combinations in favor of improving accessibility of extra letters and special characters. Cuz essentially in human language you barely need
*
and[
. So, I guess, right ctrl + left shift + 9 will do? how do you feel about coding in python on that. Or on a keyboard where the space for your|
has been allocated to some letter ø and your OR operator has been moved to the numpad.There's lots of programmers on languages that need more keys readily than us keyboard has. Äöüß, just to give an example.
I don't know, every time I read a post like this I'm kinda speechless. I know lots of Americans and many of them are brillant and open-minded, but then there are posts like this which are completely oblivious that there are reasons for other keyboard layouts.
The reason OP can't fathom programming on those is that they aren't used to it. If you grew up with non-us layouts you similarly couldn't fathom programming on the us layout.
Sometimes I feel like people refuse to even think about acknowledging that there are other experiences than their own. Go out, try out new things, exercise your brain and callenge yourself.
I'm not American, I speak a few European languages, I can type on a multitude of layouts. They all suck for programming, I know firsr-hand. And watching those people who "grew up with a layout" to use two hands for a
ctrl+z
is both hilarious and painful.Wtf, who needs two hands for that? Do they have children's hands?
It's all a matter of habit - for me all layouts but my native sucks for anything to do on a keyboard. The only thing that sucks is if keybinds are set to shift-/ because / is already shift-7. I haven't found a replacement for that yet. Forgot which program used that and for what, but I remember it was a bummer. Still wouldn't spend all that time and energy and slowdown learning a different layout.
So now we go from "you are so culturally dense" to "I'm unable to learn a different layout", "what's wrong with your hands are you a midget".
Not culturally dense, but absolutely unwilling to consider cultures outside their bubble other than as mere curiosities for entertainment. I stand by that.
Not unable to learn a new layout, but unwilling, because I don't see the point. Why would I waste time and energy on something that will at most bring me one more shortcut to use? Programming is not about typing speed. If the bottleneck for you is typing speed, your job is very different than anything I've seen or heard of.
I have never seen anyone but my computer-illiterate mom use two fingers for ctrl-z, hence I was expressing my bewilderment about that. I'll probably be able to do that move blind with one hand, and so are all of the people I know who use the computer in a professional setting. The only explanation I had for that was that they have exceptionally small hands so it's a necessity. If you want to take that as an insult of your hands, be my guest, but I'm done here.