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

Programming

18422 readers
533 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 3) 50 comments
sorted by: hot top controversial new old
[–] ICastFist@programming.dev 2 points 1 year ago

ABNT2 here, this layout is necessary due to many brazilian portuguese words containing accents. Plus, having ç as a separate key is great. For coding, the \ | key is left to Z and the : ; key is near the right shift, with brackets and curly braces usually around Enter, while ' " is left to 1. It's very good for programming, I'd say.

[–] nekusoul@lemmy.nekusoul.de 2 points 1 year ago (1 children)

As a German I have to admit that the ANSI US layout is the one American standard that's superior to the European ones. That said, I still need some Umlaute and accented letters from time to time, which is why I use the EurKEY layout, which adds all of those keys back and many morek, most of them accessible without having to use a dead key.

[–] abhibeckert@lemmy.world 1 points 1 year ago (1 children)

On a Mac you can just type regular ANSI vowels and umlauts are added automatically. There must be some way to get that working on other platfroms?

load more comments (1 replies)
[–] MrScottyTay@sh.itjust.works 2 points 1 year ago

I'm columnar-ortho now, but for standard it's ISO or bust. You can keep your shitty enter key and your overly long shift key

[–] natecox@programming.dev 2 points 1 year ago

I use a sub-40% layout that I love. I wrote all about it here: https://natecox.dev/lets-talk-about-keyboards

[–] Strider@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

Started on US, now using DE for decades. But able to still use us. Slash position is a plus there.

But Swiss, that's the stuff of nightmares! Oh and mac while usable unnecessarily sucks too imo.

[–] namingthingsiseasy@programming.dev 1 points 1 year ago (1 children)

But Swiss, that’s the stuff of nightmares!

Ha, that sounds funny (in a morbid kind of way...). What's so bad about it?

[–] Strider@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

If I recall correctly (it's been a while) it seems just fine and familiar (to DE I think) but when you start using it it's just different enough to basically mess everything up and require you to validate everything.

(from an it admin perspective)

[–] brie@beehaw.org 2 points 1 year ago

Used US and JP qwerty, both are fine after a while, but switching can be annoying (mostly I mix up whether " or @ is Shift-2).

The one thing I hate is the fragmentation of the bottom left cluster. I started out on keyboards with Ctrl Fn Super Alt, but now I much prefer Fn Ctrl Alt Super.

[–] Treczoks@kbin.social 2 points 1 year ago

If I have to work on an American QUERTY keyboard, I have to look for each and every special character. Because our QWERTZ-keyboard has them in other places to make space for all the interesting characters an American keyboard simply fails to offer.

[–] wiillou@lemmy.blahaj.zone 2 points 1 year ago

I use Coleman DH and symbols have never been an issue because I just put them on another layer 😅

[–] brunofin@lemm.ee 2 points 1 year ago

I used to use the Brazilian ABNT-2 layout, it's pretty much just a US layout with accent keys that activate like a second layer for some specific keys to display specific Portuguese language characters such as ç á à â ã é è etc. It's surprisingly ok for programming as it doesn't get in the way because you have special keys to activate the 2nd layer and most of them you need to spread shift + something in order to activate them. I'd say it's a good layout.

[–] KindaABigDyl@programming.dev 2 points 1 year ago

I can't even wrap my mind around people who use 60% keyboards and use a bunch of extra function keys let alone anything more drastic

[–] dotslashme@infosec.pub 1 points 1 year ago

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

[–] umbraroze@kbin.social 1 points 1 year ago* (last edited 1 year 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).

[–] rikudou@lemmings.world 1 points 1 year ago

I'm using the Czech keyboard, I've put in the time to learn where the various symbols are because I didn't really want to switch constantly between CZ and US like most programmers do. When I write something like těžiště I prefer it not to look like t26i3t2, then delete it, switch keyboards and write it again.

Regarding the various types (like long/short enter, pipe symbol position etc.) I don't have a particular preference, when I switch laptops, I make mistakes for a while, then get used to it

[–] Blaberus_sp@lemm.ee 1 points 1 year 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.

[–] Aatube@kbin.social 1 points 1 year ago* (last edited 1 year 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.

[–] dukatos@lemm.ee 1 points 1 year 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.

load more comments
view more: ‹ prev next ›