I often switch back and forth between programming languages. I always want to know what will happen if different syntaxes are used. Will this or other syntaxes make you clearer and write programs faster. I don't know whether it will happen, but I know what keys need to be typed when different programming languages are used.
This may be interesting for those who decide to choose a programming language. This is also the old question "which language should I learn ?" .
As far as I know, speech with a wider span is concentrated on the keyboard, which is usually the ugly language we refer to (it is difficult to read and write code ), for example, shell and perl.
You may argue that using a variable name will change the results, but most programming languages have naming conventions, but we can assume an appropriate distribution for the variable name. I don't provide results, just list the facts. The heat map does not have buttons like shift and caps. For example, perl contains the dollar sign ($ ).
Space keys are not taken into account (tabs and space characters). This is a good thing. Tools used to collect this information are distributed across different popular Github projects.
Javascript
Shell
Java
C
C ++
Ruby
Python
PHP
Perl
ObjC
Lisp
The Lisp code is written by Paul Graham.
Tool used for keyboard hotkeys: heatmap. js
Avdi Grimm Translation: bole online agile translation-Zhang xiujun
If you need to reprint the content, please indicate the source of the original/translated text, the hyperlink of the translation, and the translator. Otherwise, it is deemed as infringement. Thank you for your cooperation!