Go Language Practical Notes (28) | Go PostScript

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

"Go language Combat" reading notes have been completed, thanks to support, welcome to scan the public number flysnow_org or website http://www.flysnow.org/, follow-up articles.

"Go language Combat" notes to now is the end, basically about go in all aspects of the talk, and some are not too often used, such as CGO will be specifically again, will not be placed in this series. The series has written nearly 30 articles, about 15W words, probably wrote nearly 4 months of time, basically a weekly article, output is not high, but stable.

Original intention

I contacted the go language in 14, because Docker began to understand the language, the introduction is simple, easier than C language, and performance is very high, so I chose this language as my "C language", usually do some auxiliary work or batch of tools, and did not spend a lot of energy to learn.

In the next two years, until 16, touch and use go are relatively small, until go became the 16 language of the year, and began to pick up. At that time, PHP had started to be a bit down, and the marginalization, PHP recruitment more and more difficult, less resumes, the supply of PHP is increasingly inadequate. In the process of interviewing PHP, found that a lot of PHP developers have been in the original company to go, they look for work, although PHP, but want to do some go development work, or the company has a plan, which makes me feel that PHP go to go may be an opportunity, whether it is for the company or a person, Just like 10 Java turned into Android.

So I have a team of PHP project to go to the plan, one for the company can use both go and PHP talent, to meet the business needs, and for the PHP staff in the project team is also an opportunity to keep up with the technical development of the dividend, and can enjoy it. In order to better turn, I began to go further into the go (I myself is the Java department), I am familiar with understanding, the transformation is not too blind, so I bought some books, which includes the "Go Language Combat", the classic action series.

In the course of my study, in order to also let colleagues and want to learn go friends to get a better introduction and go deep, so I have to write this book reading notes, combined with their own understanding, in a more popular language, interpretation of the contents of the book, and extended to explain the relevant knowledge points, let everyone know it, and know its why .

Process

Writing is not so easy, especially the continuous writing, adhere to is also very difficult, fortunately, I used to write blog habits, also wrote a book "Android Gradle authoritative guide", so still good, output although not high, but still stable, finally finished.

Learn a language or new things, think and practice is not the same, in reading this book I have a very deep feeling, the previous understanding, in the real code practice to verify the time, found and think differently, I through practice also constantly revise my previous wrong understanding, Let me have a deeper understanding of go.

The advantage of this book is to introduce some principles, such as map of memory allocation, the bottom of the array is what, this is the book excellent place, not only let us use, but also know what it is a thing, so based on this, I will also add some source code analysis in my series, through the Source code auxiliary and understanding, Learn the concept better.

Basis

The book is written with notes, and one reason: No matter what language you learn, focus on the basics. I also always adhere to the principle of the interview, the test basis, because the foundation is like the foundation of the building, the basis of the better, go farther.

Especially for beginners, not to pursue a sense of accomplishment, ambitious, first use a lot of third-party framework tools, develop their own projects, soon. But if you have a bad foundation, the framework you do not understand, once you encounter problems, you are helpless, and for yourself, if you change the company, they do not use this framework, then your previous work experience is useless, can not let you a premium.

The framework is an aid to our work, a set of conventions that allow us to develop projects faster, and collaboration between colleagues is easier because you have the same benchmark, which is based on these frameworks, which is the benefit of the framework.

But for ourselves, but also to master it, understand it, in-depth study of it, this depends on deep foundation, and sometimes need to design patterns, architecture and other aspects of knowledge, with these, master the basic principles of the framework, you can not rely too much on the framework, you could improve the framework, you can even develop their own framework, No matter what new frame you use, you can get started quickly.

Income

See better practice, practice than say, for me, I only read this book, the proceeds certainly not now. When you look at it, you take it for granted, sometimes it's right, sometimes it's wrong, and this can only be discovered by practicing code examples.

There are some concepts and principles, it is difficult to understand or even understand, but if you write a few examples, print output to see the results, slowly understand, this is the benefit of practice.

Read, practice, and learn, but how to tell others, so that others can learn, and even through your speaking, so that other people easier to understand, and even more than the book more understandable, this is their own language organization ability, through to others, teach others can also let their understanding of more in-depth, this is the best learning .

and through writing articles, and readers can interact, discuss together, exchange learning and common progress.

Conclusion

This series is finished, these months thank you very much for your support, mutual exchanges, but also know a lot of friends, they have learned a lot. This postscript is also a study of the idea of a knowledge, through reading, practice, speak, let oneself more in-depth learning a knowledge, no matter what knowledge, Foundation is very important, lay a good foundation, road farther.

"Go language Combat" reading notes have been completed, thanks to support, welcome to scan the public number flysnow_org or website http://www.flysnow.org/, follow-up articles.

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.