Common keys and grammars for programming languages

Source: Internet
Author: User
Tags naming convention

I often switch back and forth between programming languages; I always wonder how this or that syntax will make you more articulate and quicker to write programs if you use different syntaxes. I'm not sure if it will, but I know which keys to use when using different programming languages.

This may be interesting for those who decide to choose a programming language, which is also the old question, "What language should I learn?" 's answer.

In the language I know, the focus on the keyboard is that the larger-span voice is often the ugly language we're referring to (it's hard to read and write code), such as the Shell and Perl.

You might argue that using variable naming will change results, but most language programming has a naming convention, but we can assume an appropriate distribution for variable names. I don't give the result, just list the facts. Getoux don't have buttons like shift and caps. If you have a dollar sign ($) in Perl.

The SPACEBAR is not taken into account (tabs and spaces), which is a good thing. The tools used to collect this information are distributed among different popular GitHub projects.

Javascript

Shell

Java

C

C++

Ruby

Python

Php

Perl

ObjC

Lisp

The Lisp code was written by Paul Graham.

Tools for keyboard hotkeys: heatmap.js

Original: Avdi Grimm translation: Bole online Agile Translation-Zhang Xiujun

If you want to reprint, but please indicate the original/translation source, translation hyperlink and the translator and other information, otherwise regarded 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.