What are the most convenient keyboard/keyboard layout for programming?

Solution 1:

Most people use QWERTY, just because it is the most popular, but if you’re learning a new layout anyway you might want to try Dvorak.

If you don’t want to learn another alphabetic layout, you can use a tool like Ukelele to make a better programming layout for the special characters while still keeping AZERTY for the rest of the keys.

Solution 2:

I made a custom azerty keyboard layout for this: https://github.com/r03/azerty/

The layout is a combination of the normal Belgian azerty and the Apple azerty. I also mapped the {} keys to an easier location next to the enter key.

Keyboard Layout