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

Programming

17668 readers
142 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 [email protected]



founded 2 years ago
MODERATORS
133
submitted 10 months ago* (last edited 10 months ago) by namingthingsiseasy to c/programming
 

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
[–] [email protected] 6 points 10 months ago (1 children)

UK layout is the GOAT. It isn't that much different from US layout at first, but there are so many more special characters readily available. Particularly useful for multiple languages like Spanish, German, Swedish, etc.

[–] Deebster 1 points 10 months ago

I use this too, and find it better in almost every way.

Swapping @ and " is a mixed blessing since the quote is used quite a lot when coding, but then so is the @. In prose I prefer to use US-style double quotes for quotations and leave single quotes for contractions, possession, etc, so I have to do that awkward shift-2 combo a lot.

Having an extra key is great for us coders since we use most of those weird glyphs (never used ¬) and having easy access to # is chefkiss.png.

ISO layout's tall enter key is great for touch typing since you don't need to be very accurate with your little finger and moving the | \ key next to Z is much more convenient. I like the symmetry of the slash keys, too.

Alt-Gr make loads of shortcuts easier, although occasionally I want that key to be a normal alt instead.

Top one is ISO-UK: