top | item 37403236

(no title)

loicd | 2 years ago

The QWERTY layout has a funny difference with for instance the french AZERTY layout. On an AZERTY keyboard, the parentheses () are directly accessible whereas the square brackets [] are not. On a QWERTY keyboard, this is the opposite : you need SHIFT for the parentheses () but not for the square brackets []. I've always wondered why the QWERTY layout favored the square brackets over the parentheses. Naively, parentheses are more common and should be more easily accessible...

discuss

order

jaclaz|2 years ago

Not really-really.

You are comparing your English QWERTY, with the French AZERTY, but there are many more languages QWERTY.

On the Italian keyboard (which is also QWERTY) the round brackets need Shift, but the square ones need AltGR.

speedbird|2 years ago

As it happens I’ve always found the American Querty keyboard much better for C programming than the English one due to bracket / punctuation layout.

yunruse|2 years ago

I’ve always set up a custom keyboard for exactly that! () on their own keys, [] on shift and {} above 0 and 9. It always struck me as the most natural alignment for prose and programming.

Thankfully between Ukelele [0] and MSKLC [1] it’s pleasantly simple to do

[0] for macOS: https://software.sil.org/ukelele/ [1] for Windows: https://www.microsoft.com/en-us/download/details.aspx?id=102...

rantallion|2 years ago

And if anyone wants to go really custom, it's worth checking out the QMK firmware supported by many mechanical keyboards. Aside from the level of customisation made possible by QMK, another benefit is that everything lives on the keyboard - no need to install keyboard profiles on each machine you might connect the keyboard to.