Go vs. Python

Source: Internet
Author: User
This is a created article in which the information may have evolved or changed.

Python is the most concise language, not one of them. There are a lot of go programmers that are Python programmers, so there is a typical comment on go: Go writes like Python.

Using go for a period of time, feel as follows:

1, written like Python, but there is a distance from Python. In particular, Python provides the idle command-line interpreter, which makes it easy to write small examples to verify how some functions are used, which is not as good as go.

2. The Go language static property causes go not to be as concise as Python, which is like two sides of a coin;

3, Go language grammar is very strict, at compile time, can prevent many mistakes;

4, go language execution efficiency is much higher than Python. This is important. Some pythoner, always say, want efficiency, you can pypy ah, you can use C extension ah, and so on, but the problem is, if the use of pypy, or use C extension, the complexity of the sharp rise, but the outweigh the gains, so that the direct use of Go is not better?

5, go language will continue to warm up, within two years, to enter the top ten of the program language leaderboard.

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.