As a person who has used a lot of programming languages, I'm not optimistic about the go language.

Source: Internet
Author: User

Go in the domestic rise unconsciously, however, there are articles on the internet, go abroad is not how much, but in the domestic attention is very high, of course, I did not research, do not comment. This article is mainly from the language itself objectively say go question

Go's designers claim that go Boulevard to Jane, indeed, the go language is very simple and easy to master. However, the world is a contradictory complex, simple may not be good, it may not be bad.

1, the Go language is simple, but too simple, natural language performance is much worse, the application of natural limitations of the scene

2, go can not manually manage the memory (trouble, not recommended manual memory management, and not the same) so not suitable for memory services, typical applications are Memcahce,redis, etc.

3, go to the goal can be said to be good C, however, some grammatical structure in c it does not have corresponding support, resulting in some C implementation of the function can not be called, the most important is some system calls (or called System API), so from this point of view it can only replace most of C's ability, since positioning as a system programming language, That must be very friendly to C, because Windows, Linux, or the core is the C language implementation, always avoid to and it to hit, unless your application-related tasks happen to go to meet

4, deliberately made some grammatical sugar to unconventional, such as omitted the brackets, and so on, this can do this? Anyway, I don't think so, probably because the brackets are used, just like the human appendix is superfluous, but most people still keep it, unless removal is necessary. Of course, some people say that this can be less knocking on the keyboard, can not knock why more knock. First of all, the development speed of the promotion is very small, because the development is not a typing game, and also did not save much, like indentation, do not indent the same code, then why also want to indent, some people say in order to layout look comfortable, so it is comfortable, in fact, this is not necessarily, just learn programming people few people notice indentation, And he himself looked very good, think of us now all kinds of alignment of the indentation is actually cultivated habits, beginning who did not have this habit, since the formation of this habit, there is no good why should be changed?


In fact, there can be more, but the purpose of this article is just to remind you, do not blindly follow, the big company's things are not all good, the most popular things may not be the most suitable, the minority may not be a better choice, a higher education may not have the ability to have the ability of not necessarily a high degree, the expert words may not be Media reports are often false. The world really needs to think hard.

Finally, thanks to Google's contribution, it's better than nothing.

This article is from the "Li Yunxing blog" blog, make sure to keep this source http://quetzal.blog.51cto.com/3313934/1631304

As a person who has used a lot of programming languages, I'm not optimistic about the go language.

Related Article

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.