News for hackers. Stuff that matters.
Re:Go generics may use square brackets [] not parenthesis () by signal11 on Wednesday July 15, 2020 @07:55AM (#23843912)
Looking at the Icelandic layout[1] from a programmers' perspective, the big difference appears to be that \, [, and ] need a modifier, Alt-Gr; and ; (semi-colon) is shifted.

The shifted semi-colon must be irritating in C-like languages, but even on US/UK keyboards, characters like ( and { need Shift, which admittedly is larger than Alt-Gr and there are two of them.

I wonder if the larger right Shift key can be mapped as Alt-Gr.

PS. Does Icelandic need the letter 'mu' often enough to dedicate a key to it on the keyboard?

[1] https://en.wikipedia.org/wiki/Icelandic_keyboard_layout#/med...

Re:Go generics may use square brackets [] not parenthesis () by tirpen on Wednesday July 15, 2020 @10:02AM (#23845328)
μ is used a fair bit by anyone who uses the metric system, so it makes sense to include it. It's used as a prefix to denote a millionth for those that don't know, as in µm = micrometer = a millionth of a meter.

It's mapped to Alt-Gr+M on Swedish keyboards as well, but I've never seen a keyboard where it's actually written on out on the key.

Re:Go generics may use square brackets [] not parenthesis () by IceDane on Wednesday July 15, 2020 @01:06PM (#23848124)
> A fair bit by anyone who uses the metric system?

I'm sorry, but what?

Most people who use the metric system can't tell you which is smaller: micro or milli. Most people will never encounter anything in their lifetime they will actually need to reason about in some important manner that is measured in μ-anything.

As a user of the Icelandic layout I wasn't even aware that the key was on there, but I can confirm that we absolutely don't need it. I think there are probably a lot of keyboard layouts that could use modernizing wrt. how they are actually used today.

Re:Go generics may use square brackets [] not parenthesis () by Symbiote on Wednesday July 15, 2020 @01:57PM (#23849019)
µ would be used by scientists, engineers, doctors and nurses.

That doesn't seem unreasonable, when we have <, >, { and } for mathematics, \ originally for logicians (to combine to make /\ AND and \/ OR) and |, @, _ and # for programming.

Re:Go generics may use square brackets [] not parenthesis () by IceDane on Wednesday July 15, 2020 @01:01PM (#23848062)
Shifted semicolon is absolutely a non-issue. If there are any problems with the layout, it's hiding the symbols behind altgr, but the shifted semicolon is really not a problem.
Re:Go generics may use square brackets [] not parenthesis () by Symbiote on Wednesday July 15, 2020 @02:01PM (#23849087)
I think if my mother tongue wasn't English, and I therefore regularly typed on a different European layout, I'd remap the left Windows key or maybe Caps Lock to be an additional AltGr.