3 ms·
Golang - Seems much harder to learn and people don't seem to like it either How do I start learning a language and which one would you recommend? Find a small
by gjvc 5y ago
Golang - Seems much harder to learn and people don't seem to like it either
How do I start learning a language and which one would you recommend?
Find a small project you've already written in language X. Starting with the smallest, translate a single function from X to Y, then another and another. Note that nothing has to run yet, we are just looking for syntactic correctness. Keep doing this until you get back to the entry point (where the program starts, normally command line option parsing). Along the way you'll have learned not only the syntax and source code organisation of the new language, but also experimented with the libraries available in the new language, and hopefully have something which at least runs. At this point (probably before), you'll begin to feel confident enough to start using features in the new language which don't exist in the original one, and be able to agree or disagree with naysayers with confidence.
BTW, I used this approach from Perl to Python, and from Python to Golang, and have found it effective in both cases. Good luck!