> What helped we is switch from C++ to Ruby
This is a great point. Some languages have terrible ergonomics - those which rely heavily on brackets which are poorly placed on a keyboard. Ergodox layouts tend to map brackets to the second layer on ER,DF,CV keys to mitigate this. But it's better for languages to not require braces at all.
Indeed, and if you have to work with those languages, a good templating system like emmet or yasnippet will save you a ton of typing. Let the machine do the typing for you.
I haven’t used it yet, but tools like TabNine will autocomplete more of your code:
Much of what we type is repetitive.
And Dvorak of course. I can use it on notebook.