149
submitted 2 years ago* (last edited 2 years ago) by namingthingsiseasy@programming.dev to c/programming@programming.dev

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) 50 comments
sorted by: hot top controversial new old
[-] Pamasich@kbin.social 4 points 2 years ago

I just use the Swiss keyboard layout. Here's an image from Wikipedia.

Don't have any experience with any others.

load more comments (2 replies)
[-] dosse91@lemmy.trippy.pizza 4 points 2 years ago

I'm italian and I'm absolutely ashamed to say that I use an italian ISO keyboard for programming. It's missing some symbols like the backtick but I can't get used to US ANSI so I just configured some macros to type the missing characters.

[-] virku@lemmy.world 4 points 2 years ago

Being Norwegian i code on the Norwegian keyboard layout. I get confused every time I get defaulted into English.

[-] rekabis@lemmy.ca 4 points 2 years ago

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

[-] TheFonz@lemmy.world 3 points 2 years ago

Dvorak gang here. Never going back to QWERTY.

[-] deepfriedchril@lemmy.world 4 points 2 years ago

Does Dvorak count? I switched over when I made an egrodox style keyboard which in itself made typing generally more comfortable.

load more comments (1 replies)
[-] Gobbel2000@feddit.de 4 points 2 years ago

I use Colemak where most punctuation is at the same place as in the US English layout, which programming languages seem to be optimized toward. For the layout I prefer ISO for the larger Enter key.

[-] Asudox@lemmy.world 4 points 2 years ago* (last edited 2 years ago)

I've used AT QWERTZ ever since I was born.

[-] otarik@feddit.it 3 points 2 years ago

You can adapt to a new layout pretty easily. I already did it twice due to moving to new country.

[-] bugsmith@programming.dev 3 points 2 years ago

I use UK standard layout, and Apple UK for work. It always takes me a few minutes to switch between them, but both are absolutely fine for programming. Just the odd placement of # that bothers me a little, but I tend to use that only for Python comments - which I tend to do more commonly from a keyboard shortcut anyway.

[-] xilliah@beehaw.org 3 points 2 years ago* (last edited 2 years ago)

use Vista speech recognition} fantastic

no

no

no

[-] Dequei@sopuli.xyz 3 points 2 years ago
load more comments (1 replies)
[-] benjhm@sopuli.xyz 3 points 2 years ago

I began programming java climate model with UK keyboard. When I moved to the continent, switched to swiss then belgian keyboard to better type emails/docs in french, but it was so tedious for code brackets {[()]} and some other punctuation, eventually switched back. Recently converted whole codebase to Scala 3 (here's the model), now can drop most of those brackets. I speculate whether one motivation for creating scala3 (made in in Lausanne) was swiss/french keyboards.

[-] Strider@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

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.

load more comments (2 replies)
[-] tintinmaster@feddit.de 3 points 2 years ago

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

load more comments (2 replies)
[-] Canadian_Cabinet@lemmy.ca 3 points 2 years ago

I do! ISO-ES the only real annoyance is that / is locked behind Ctrl+7 instead of next to the spacebar. My laptop is also in ANSI despite me using ISO so I'm missing a couple of keys

[-] robinm@programming.dev 3 points 2 years ago* (last edited 2 years 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.

╭╌╌╌╌╌┰─────┬─────┬─────┬─────┬─────┰─────┬─────┬─────┬─────┬─────┰╌╌╌╌╌┬╌╌╌╌╌╮
┆     ┃   ¹ │   ² │   ³ │   ⁴ │   ⁵ ┃   ⁶ │   ⁷ │   ⁸ │   ⁹ │   ⁰ ┃     ┆     ┆
┆     ┃   ₁ │   ₂ │   ₃ │   ₄ │   ₅ ┃   ₆ │   ₇ │   ₈ │   ₉ │   ₀ ┃     ┆     ┆
╰╌╌╌╌╌╂─────┼─────┼─────┼─────┼─────╂─────┼─────┼─────┼─────┼─────╂╌╌╌╌╌┼╌╌╌╌╌┤
·     ┃     │   ≤ │   ≥ │  *¤ │   ‰ ┃  *^ │     │   × │  *´ │  *` ┃     ┆     ┆
·     ┃   @ │   < │   > │   $ │   % ┃   ^ │   & │   * │   ' │   ` ┃     ┆     ┆
·     ┠─────┼─────┼─────┼─────┼─────╂─────┼─────┼─────┼─────┼─────╂╌╌╌╌╌┼╌╌╌╌╌┤
·     ┃     │   ⁽ │   ⁾ │     │   ≠ ┃  */ │   ± │   — │   ÷ │  *¨ ┃     ┆     ┆
·     ┃   { │   ( │   ) │   } │   = ┃   \ │   + │   - │   / │   " ┃     ┆     ┆
╭╌╌╌╌╌╂─────┼─────┼─────┼─────┼─────╂─────┼─────┼─────┼─────┼─────╂╌╌╌╌╌┴╌╌╌╌╌╯
┆     ┃  *~ │     │     │   – │     ┃   ¦ │   ¬ │  *¸ │     │     ┃           ·
┆     ┃   ~ │   [ │   ] │   _ │   # ┃   | │   ! │   ; │   : │   ? ┃           ·
╰╌╌╌╌╌┸─────┴─────┴─────┴─────┴─────┸─────┴─────┴─────┴─────┴─────┚ · · · · · ·
[-] Mechaguana@programming.dev 3 points 2 years ago

French keyboard azerty has easier accents, cant live without em now.

Used to have a qwerty so sometimes the muscle memory derps a little, but when I accidently change the layout Im always mildly impressed that I can remember which key is which.

[-] ebc@lemmy.ca 3 points 2 years 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...

[-] KindaABigDyl@programming.dev 3 points 2 years 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

[-] SuperFola@programming.dev 3 points 2 years ago

I use a plain 34 keys layout based on qwerty for letters, comma/dot/semicolon. The numpad and symbols layers are handcrafted so that every symbol is easy to reach, it's also optimize to type things like <- and -> easily

[-] Honytawk@lemmy.zip 3 points 2 years 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.

[-] nutsack@lemmy.world 3 points 2 years ago

The British want a stupid as fuck they moved the tilde into a weird spot and you're basically can't do it

load more comments (3 replies)
[-] Giooschi@lemmy.world 3 points 2 years ago

My laptop has an italian layout keyboard because it was a pain to find a good priced one with the US layout. On windows there's no way to do the ` and ~ symbols without using Alt combinations and on linux you need to use a weird compose key. Also square brackets require you to press Shift and curly brackets require both Shift and Alt.

[-] RecallMadness@lemmy.nz 3 points 2 years 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.

[-] brie@beehaw.org 2 points 2 years 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.

[-] qevlarr@lemmy.world 2 points 2 years ago

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

[-] ICastFist@programming.dev 2 points 2 years 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.

load more comments
view more: ‹ prev next ›
this post was submitted on 29 Jan 2024
149 points (100.0% liked)

Programming

23201 readers
176 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