Hi everyone, I'm Codemaster Pioneer.
I can't do this, so let's switch to someone else. We've all been there, and it's a programming language that's just not working, so let's switch to Go. Does Go really work? I don't think so. Personally, I think it's just a way to relieve anxiety and divert attention. Some of my friends want to try to switch to Go or are on the way, in the process will encounter the dilemma of thinking change, this dilemma is often the programming habits of the path of dependence, always will be PHP programming thinking to learn Go, this way of learning has caused many people in the Go language learning path came to an abrupt end.
dilemma
The word "dilemma" should have appeared more than once in your programming career, and solving countless bugs every day is the same as getting out of the dilemma. So this time I would like to talk about the dilemma of PHP programmers transitioning to Go, and from my own knowledge I personally think there are a few points.
First of all, in front of this impatient society, we are faced with a variety of problems every day, especially a lot of people are always singing the praises of PHP can not be, in the dissemination of this sentiment, some people began to look for transformation breakthroughs like a headless fly, a moment to look at Java, a moment to look at the Go, the result of a can not be learned, the urgent transformation of the mentality is often a failure and end.
Secondly, the traditional programming thinking path dependence, this point of view has also been mentioned in the beginning, as the world's best language PHP easy to get started to write efficiently, the realization of the effect of what you see is what you get, we have long been in a programming mode under the formation of habits, to analyze the human point of view is that once the formation of the corresponding habits will be very difficult to change, I often see that some PHP programmers to write Go code all the time are full of a PHP flavor, this is the result of path dependence. I often see PHP programmers writing Go code that smells like PHP all the time, and this is the result of path dependency.
Finally, I understand that most of the PHP programmers are halfway out of the programmer's weak basic knowledge, through the alchemy of so-and-so seven days to get started, thirty days to master PHP tutorials, and mistakenly entered the PHP programming family, in the PHP programming world free to soar like a fish out of water, become a CURD in the PHP world pretty boy, and then full of self-confidence to learn the Go language, and the results of the poor basic skills encountered in the Go language features such as pointers, coprocesses, channels, slices and so on, face confused, and ultimately fled. The basic skills are not solid when encountered in the Go language pointers, coprograms, channels, slices and other features on the face of confusion, and ultimately fled.
suggestion
Since there is a dilemma, we still need to find a way to solve it, in order to walk on the right path to transform Go language. Mr. Lu Xun once said, "There is no road in the world, but when more people walk, there will be a road".
We can walk along the path that others have taken, that is to say, we can look for a Go language partner who has already accomplished a lot, follow his footsteps and learn step by step, imitating step by step, imitation is also one of the best ways to learn. We work in an involutional workplace, every day is restless in the heart, so we need to have a definite learning goal, do not think of one, today this is good to learn this, tomorrow that is good to go to learn that, in fact, to maintain a stable goal and a good state of mind, has been a big success, do not be like some actors to shoot a TV series, will never live through the first episode.
For those halfway out of the CURD pretty boy, although you are now living in style, but it is still recommended to learn more about basic computer knowledge, such as operating systems, network protocols, etc., when you are faced with the internal transition that day, the Go language can also be coped with, because I have also heard a lot of friends say that their own companies are trying to go to the direction of the transition of the Go language, which is a trend, and Lei Jun has also said, "Standing on the wind mouth of the pigs can fly," so we have to follow the trend and actively respond to it. Lei Jun also said that "any pig standing on the wind mouth can fly", so we should follow the trend and respond positively.
concluding remarks
We should not be afraid under the plight of transformation, but neither should we be blindly careless. The road of learning is always difficult and long, because learning itself is the growth against human nature, to overcome human nature is not easy. Finally, I hope that everything will go smoothly on the road of transformation, all roads lead to Rome, everyone is a different individual, all have their own unique learning path, may we all walk on the right path, all the way to the rainbow! This sharing content is here, I hope to inspire you.
Thanks for reading, personal opinion is for reference only, welcome different views in the comment section.
Welcome to follow, share, like, favorite, in the watch, I'm the author of WeChat public number "code farmer forefather".