this post was submitted on 29 Jan 2024
134 points (88.5% liked)

Programming

22170 readers
202 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 2 years 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)?

(page 4) 50 comments
sorted by: hot top controversial new old
[–] qevlarr@lemmy.world 1 points 2 years ago

ANSI all the way. I get irrationally angry about any other layout 😡

[–] LANIK2000@lemmy.world 1 points 2 years ago

I'm Czech and also speak fluent German, but I rarely use my native languages on my personal PC, so I got used to the US layout. Nowadays I use US layouts that have my native letters on the AltGr key, my Linux pc has an "American - Czech, Slovak, German" layout like that and at work on windows I use the Czech Programmer layout. However, most of my coworkers use the regular Czech keyboard, even for programing, which freaks me out.

[–] dukatos@lemm.ee 1 points 2 years ago

I use US layout for programming because it is way better than SR latin. For documents and mails, I use both variants - latin and cyrillic.

[–] Aatube@kbin.social 1 points 2 years ago* (last edited 2 years ago)

I use the International keyboard because it allows me to type a lot of symbols, but US also serves me fine

Edit: to program, I use the US layout.

[–] Blaberus_sp@lemm.ee 1 points 2 years ago

I'm using a Dygma Raise split keyboard with Dvorak as my main layer. The thumb clusters are great for putting difficult to reach keys in more comfortable positions. Second layer has NumPad, Directionals and Functions. Still trying to decide how to make the best use of my other layers.

[–] TheOakTree@beehaw.org 1 points 2 years ago

I use US-QWERTY but with the pipe/backslash key as backspace, and the key where backspace usually is gets turned into two keys, pipe/backslash and grave (yes, there is a keycode for grave (`) by itself).

[–] umbraroze@kbin.social 1 points 2 years ago* (last edited 2 years ago)

I'm using Finnish keyboard layout (same as Swedish basically).

I like how AltGr+7/8/9/0 gives me { [ ] }, it's a very nice grouping. The key next to Z is < > and you get | with AltGr, which is very handy.

Only thing that's mildy annoying from programming viewpoint is that for tilde and backtick, the keys do diacritics - you need to press the diacritic key and space. Backtick is especially fun, because it's shift+acute, space. Meanwhile, the key next to 1 does § ½, which aren't that handy most of the time. I often just stick backtick on that key if I'm particularly assed to customise keyboard keyouts. Similarly, shift+4 is ¤, which is another not a particularly useful character (but I don't mind that, because £ $ € all need to be produced with AltGr, which is at least consistent).

[–] echodot@feddit.uk 1 points 2 years ago

On UK keyboards the £ replaces the $ and $ replaces '

Double quotation marks " are in the same place though so a lot of british programmers don't use single quotation marks because they are hard to press. If your touch typing you have to reach all the way to the bottom right with your right hand little finger and it's just not worth it.

[–] daniskarma@lemmy.world 1 points 2 years ago

I use Spanish QWERTY layout and it's... weird for coding.

I'm used to it from my whole life so that's what I use but sometimes brackets or special symbols are weird.

I've always wanted to change to use US-International layout. So I can keep ñ and áéíóú, and also have easy access to coding symbols. But I have never got around it.

Anyhow I still think that whoever designed ISO layouts messed up. We should use US international layout. That's my two cents.

[–] dotslashme@infosec.pub 1 points 2 years ago

My os is running with a slightly modified us qwerty, which then is mapped through keyboard firmware to a modified us dvorak.

[–] where_am_i@sh.itjust.works 1 points 2 years ago (1 children)

Pro tip for fellow yuropean devs: you can change the layout, and learn it easily.

Pro tip for fellow ISO enjoyers living in yurop: a keyboard on Amazon costs 20$. If you're using a laptop you can order one from the UK, it's mostly the same, except beware of the mental asylum layouts that move this | key to the bottom left. You can also buy a laptop from amazon.com if you filter by "global shipping". Power bricks always work with 110/220/240, the cable that goes into the plug is easily exchangeable for 10$.

Some premium brands let you choose the layout. E.g. xmg, slimbook.

[–] Atemu@lemmy.ml 1 points 2 years ago

Pro tip for enjoyers of any layout: You don't need to buy a different physical layout to type in a different layout. You can just switch it out on the software side. The computer has no idea and does not care what's printed on the keycaps.

[–] Justas@sh.itjust.works 0 points 2 years ago

I alternate between US-QWERTY and LT-QWERTY. My biggest problem is typing ž instead of =

load more comments
view more: ‹ prev next ›