this post was submitted on 29 Jan 2024
86 points (100.0% liked)

Programming

426 readers
10 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 2) 48 comments
sorted by: hot top controversial new old
[โ€“] tintinmaster@feddit.de 2 points 1 year ago (1 children)

I use the German Layout Neo which has especially nice layers for programming https://neo-layout.org/

[โ€“] Scipitie@lemmy.dbzer0.com 1 points 1 year ago

You are the second person I got to meet in the wild using neo2.

The first one I met was myself ๐Ÿคฃ Although I have to admit it started out to just be different but I started loving it quite fast!

[โ€“] Honytawk@lemmy.zip 2 points 1 year ago

They wouldn't be using them if they didn't think they were superior. Even if it is just because they are used to them.

[โ€“] 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.

[โ€“] RecallMadness@lemmy.nz 2 points 1 year ago

I used to use ANSI, but then moved to England and bought a laptop and returned it because of the โ€œweirdโ€ ISO keyboard, then forever bought dell because I could customise it.

Moved back to ANSIland, but will still probably just buy dell.

[โ€“] ebc@lemmy.ca 2 points 1 year ago

I use Canadian Multilingual on a ISO-style keyboard, mostly because my main language is French and typing accents on a US keyboard is horrible.

Coding makes a hefty use of Alt ("option" on mac), but they're relatively well-placed (see the labels on the bottom-right of the keys in the pic)

My main annoyance with it is that the ANSI-style keyboard puts "รน" to the left of "1", instead of the "/" you get on that key on a ISO keyboard (where รน is between the left shift and z). You can see how annoying this would be when programming or using the command-line. And of course, Apple stores only stock MacBooks with ANSI keyboards...

[โ€“] 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.

[โ€“] robinm@programming.dev 2 points 1 year ago* (last edited 1 year ago)

I use a 42 key layout modified from bรฉpo (french dvorak inspired layout) with the altgr layer of ergol. Go check this altgr layer it's awesome for programming, and there is a version compatible for qwerty and lafayette.

โ•ญโ•Œโ•Œโ•Œโ•Œโ•Œโ”ฐโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฐโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฐโ•Œโ•Œโ•Œโ•Œโ•Œโ”ฌโ•Œโ•Œโ•Œโ•Œโ•Œโ•ฎ
โ”†     โ”ƒ   ยน โ”‚   ยฒ โ”‚   ยณ โ”‚   โด โ”‚   โต โ”ƒ   โถ โ”‚   โท โ”‚   โธ โ”‚   โน โ”‚   โฐ โ”ƒ     โ”†     โ”†
โ”†     โ”ƒ   โ‚ โ”‚   โ‚‚ โ”‚   โ‚ƒ โ”‚   โ‚„ โ”‚   โ‚… โ”ƒ   โ‚† โ”‚   โ‚‡ โ”‚   โ‚ˆ โ”‚   โ‚‰ โ”‚   โ‚€ โ”ƒ     โ”†     โ”†
โ•ฐโ•Œโ•Œโ•Œโ•Œโ•Œโ•‚โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ•‚โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ•‚โ•Œโ•Œโ•Œโ•Œโ•Œโ”ผโ•Œโ•Œโ•Œโ•Œโ•Œโ”ค
ยท     โ”ƒ     โ”‚   โ‰ค โ”‚   โ‰ฅ โ”‚  *ยค โ”‚   โ€ฐ โ”ƒ  *^ โ”‚     โ”‚   ร— โ”‚  *ยด โ”‚  *` โ”ƒ     โ”†     โ”†
ยท     โ”ƒ   @ โ”‚   < โ”‚   > โ”‚   $ โ”‚   % โ”ƒ   ^ โ”‚   & โ”‚   * โ”‚   ' โ”‚   ` โ”ƒ     โ”†     โ”†
ยท     โ” โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ•‚โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ•‚โ•Œโ•Œโ•Œโ•Œโ•Œโ”ผโ•Œโ•Œโ•Œโ•Œโ•Œโ”ค
ยท     โ”ƒ     โ”‚   โฝ โ”‚   โพ โ”‚     โ”‚   โ‰  โ”ƒ  */ โ”‚   ยฑ โ”‚   โ€” โ”‚   รท โ”‚  *ยจ โ”ƒ     โ”†     โ”†
ยท     โ”ƒ   { โ”‚   ( โ”‚   ) โ”‚   } โ”‚   = โ”ƒ   \ โ”‚   + โ”‚   - โ”‚   / โ”‚   " โ”ƒ     โ”†     โ”†
โ•ญโ•Œโ•Œโ•Œโ•Œโ•Œโ•‚โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ•‚โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ•‚โ•Œโ•Œโ•Œโ•Œโ•Œโ”ดโ•Œโ•Œโ•Œโ•Œโ•Œโ•ฏ
โ”†     โ”ƒ  *~ โ”‚     โ”‚     โ”‚   โ€“ โ”‚     โ”ƒ   ยฆ โ”‚   ยฌ โ”‚  *ยธ โ”‚     โ”‚     โ”ƒ           ยท
โ”†     โ”ƒ   ~ โ”‚   [ โ”‚   ] โ”‚   _ โ”‚   # โ”ƒ   | โ”‚   ! โ”‚   ; โ”‚   : โ”‚   ? โ”ƒ           ยท
โ•ฐโ•Œโ•Œโ•Œโ•Œโ•Œโ”ธโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ธโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”š ยท ยท ยท ยท ยท ยท
[โ€“] 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.

[โ€“] 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.

[โ€“] 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.

[โ€“] 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.

[โ€“] 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).

[โ€“] TheOakTree 1 points 1 year 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).

[โ€“] echodot@feddit.uk 1 points 1 year 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.

[โ€“] rekabis@lemmy.ca 1 points 1 year ago

DVORAK all the way, baby. Hardware-based via Unicomp 104.

[โ€“] pkill@programming.dev 1 points 1 year ago

I'm using a sligntly modified Niro layou (in a way that makes it more ergonomic with vim). Though I might need to adjust it since lately I began feeling disproportionate strain on my right ring finger.

[โ€“] simonced@lemmy.one 1 points 1 year ago

Using the JIS layout. One thing I miss from ANSI is the single and double quotes on my right pinky.(on the same key) Other than that, JIS is a nice layout to do programing with.

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.

[โ€“] wiillou@lemmy.blahaj.zone 1 points 1 year ago

I use Coleman DH and symbols have never been an issue because I just put them on another layer ๐Ÿ˜…

Iโ€™m having to use US keyboard layout in Oz and not enjoying the half-height Return key very much.

load more comments
view more: โ€น prev next โ€บ