How to learn a seemingly simple, more esoteric Golang language
1. Pre-practice
- Learn 25 + keywords
- Why the Golang language has fewer keywords (relative to other languages), it seems very few.
- But judgement 25 key words to use and understand flexibly, you are already an old driver. Although I am soft to say that I am an old driver, but I feel that I am still bad far.
2. Enter the company, through the business, familiar with the use of Golang language.
- Specific scenarios will only be used for specific knowledge.
- Processing data, concurrent processing will use Chan, Go,sync ... such as
- Code normalization: Easy to see, need to understand interface. Why do you say that? I think the interface in Golang is very flexible. Be good at learning from the understanding of other languages, to understand and design Golang ways and methods. As the new language of the 21st century. How strong the vitality, look at the late development bar.
- I'll show you the rest if there's a specific scenario to discuss. can leave a message. I will reply to each.
3. Take extra time to see more Golang source code.
- Why good ideas, good ideas are what Daniel proposed. We should understand that, Daniel is a wide range of computer knowledge, as programmers are more adept at divergent thinking. Use the knowledge to understand the new language. The same is the cement, brick, steel, stone, no use of the way, is different construction.
- Good style, Golang source has been
- Use the usual algorithms. Golang source code also has.
- Such a good knowledge base, must be used well.
GOALNG Standard library 1 (currently I receive the best)
Golang Standard Library 2
4. Third-party libraries
- Every good third-party library is a crystallization of many people. Be familiar with other people's style, optimize yourself, improve yourself
- Take its essence, abandon its bad soul.
5. Learn more about yourself.
- Look at which stage you are, and then study well.
- and retreat
The above is their own years of work after the summary of understanding to share. Like a bit of praise, do not like to spray ...