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

Programming

17325 readers
119 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 !webdev@programming.dev



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
[–] lupec@lemm.ee 28 points 9 months ago (3 children)

A lot of us don't live in the US to begin with, so I assume a significant portion of us just use whatever the local standard is. That's where I've been at so far, the Brazilian layout is a QWERTY variant so not that different. It does make some things more awkward, but you get used to what you have to work with.

Brackets and curly braces are less convenient off the top of my head, backticks too. Vim is a tad less ergonomic without some extra fiddling, for instance. In fact, I've been considering getting a US keyboard for coding to make that kinda thing less of an issue, US international makes accents and whatnot accessible enough that I think I could make it work.

[–] Turun@feddit.de 5 points 9 months ago* (last edited 9 months ago)

If you're cheap like me, just change the keyboard layout on the software side and instead of looking at the now incorrect key caps, look at the American keyboard layout image on Wikipedia instead. It doesn't take long to relearn the few differences. And the parentheses are more ergonomic on the us keyboard layout IMO.

Edit: compared to the German layout. Brazilian looks ergonomic enough for programming without having to switch.

[–] kamenlady@lemmy.world 3 points 9 months ago (2 children)

I think the @ being a shift 2 would confuse me the most in the beginning, before getting used to it.

I'm a Brazilian web developer living in Germany for 32 years and actually never used a Brazilian keyboard. I may be returning to Brazil for a while, i don't know yet if I'm adopting the Brazilian variant or just keep using the German one.

[–] baduhai@sopuli.xyz 3 points 9 months ago

Just keep using the layout you're used to. I'm Brazilian too, but I've lived abroad my whole life, and US layout is what I'm most used to (even though I've never lived there, funny enough). When I'm on other keyboards, I just switch the layout to US International, and stop looking at the keyboard.

[–] lupec@lemm.ee 2 points 9 months ago (1 children)

Ah, interesting! I'd have guessed about a dozen annoyances before that one even came to mind haha. Hope you have a good time around these parts at any rate :)

Also, I'd never taken a serious look at the German layout but going by the truly wild differences there you may as well stick with what you have IMO, I think it's what I'd do at least.

[–] kamenlady@lemmy.world 2 points 9 months ago

I also never checked the Brazilian tbh. Guess I'll just check it out, if the opportunity arises.

Yeah, it's been a good time here - the pandemic and the inflation made things pretty difficult though, but i assume, just like the pandemic, everyone around the world is struggling with inflation atm.

[–] TCB13@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

This PT-BR keyboard layout is a mess, a mix between the US layouts and the PT-PT one. That's why you've less than convenient brackets and curly braces. Frankly I see no reason why there's still this two layouts for the same language. Can't we just agree on some mix of PT-BR and PT-PT?