[Warning: English content] How do mac programmers manage with Swedish keyboards!?

Permalänk
Medlem

[Warning: English content] How do mac programmers manage with Swedish keyboards!?

Hello,

Foreigner here, apologies for the English.

A few months ago I bought a beautiful and overpriced mac for our apartment. It included a wireless keyboard in Swedish layout.

All has been fine until the last few weeks I have been trying to do some iOS development work, and found that the key placement is horrible! e.g. by default 8 = 8, ( = shift+8, [ = option+8, {= option+shift+8. Which maniac came up with this?!

Now, I'm fully aware that I can remap the keys, but I'm just curious to know: What is the typical solution for a Swedish iOS developer? Remapping? Use an international keyboard instead? Is this an issue with keyboards more generally?

Any insights would be much appreciated!!

Tack!
John

spelling mistake
Permalänk
Keeper of the Bamse

It's the same thing with windows oriented keyboards. Some people learn the layout, some people switch to US layout.

Visa signatur

i7 10770K, NH-D15. 16GB corsair. RTX 3080. 3TB nvme. Samsung G9. Fractal Torrent Compact. Corsair RM850.
Logitech G pro wireless mouse. Logitech TKL915 wireless. Logitech Pro X Wireless.
Macbook M3 (16GB, 512GB). HP Reverb G2.
www.bamseclockers.com

Permalänk
Avstängd

Not a mac developer or user, but I am a developer working with a swedish keyboard, and you get used to it pretty fast. Although on PC/Windows the "{" is on AltGr+7 and "}" on AltGr+0, guess that makes it a bit easier.

Permalänk
Hedersmedlem

It was approximately 10 years ago since I last owned and programmed on a Mac, but when I did, I didn't find programming on a Swedish Macintosh keyboard to be a big deal. It's not really worse than on a Windows machine, it's just a bit different.

In fact, looking at it logically, it makes sense to put all the types of brackets on 8 and 9, since all of {, ( and [ "belong" together). It also makes sense to put \ on Alt+Option+7 as well, since it's kind of an "optional" forward slash. Pipe is at Alt+7.

In fact, I would say I actually do prefer the Apple keyboard layout to the Windows ones, since there are a lot of special characters that you can type with Option on a Mac that require memorizing Alt-codes on a Windows box.

Of course, if you're used to it one way, it's kind of unfortunate to have to change, and re-learn a different way, but just use it long enough and you're bound to get used to it before too long.

Another option is to try a US layout instead. A lot of programmers will prefer programming a US keyboard, even on Windows. A lot of special characters are easier to get to on these keyboards. That includes commonly used characters such as ;, =, [, ], `, / and \ that can all be typed with a single unshifted keystroke on US keyboards, something that is not possible on a Swedish keyboard.

In fact, I believe there is even an "international US" keyboard layout which makes it possible to write the Swedish Å, Ä and Ö characters without too much effort, so if you only occasionally have to type in Swedish, but mostly do a lot of coding, a US keyboard layout may make more sense for you than a Swedish one.

I don't use a US keyboard myself, but it is objectively better purely for programming, so I understand why a lot of programmers prefer it.

TL;DR summary: You'll get used to it, and if it bothers you, try a US keyboard. Purely for coding, that's an objectively better keyboard.

Permalänk
Medlem

I simply change to a US layout while still using a Swedish keyboard. You get used to the key placement. All those symbols are WAY easier with the US layout, and I rarely find myself needing to use Å Ä Ö in those situations, except for typing out descriptions or UI names for Swedish users.