Common buttons and syntaxes for programming languages

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.