Skip to content

Start learning Go (golang)

27 mayo, 2021

The Go programming language was launched in November 2009, developed and devised by Google. During this time outside of the initial hype, a moderate interest has arisen to learn more about this “unknown” language in the shadow of other widely used languages ​​such as Java, C ++, C # or Python (although I do not want to technically compare them with them).

Go is a modern language, so drink from the best of many languages. It combines a C-like syntax with the features and ease of dynamic languages ​​like Python. Languages ​​like C ++, Java or C # are heavier or bulky. Instead, GO gets it right with a clear and concise syntax. You can read the introduction to some concepts about Go that we did a while ago.

Still being designed for system programming, provides a garbage collector, reflection, powerful concurrency patterns, and other high-level capabilities. It is not object-oriented because there is no type hierarchy, but it implements interfaces, which allows us an object-oriented programming style.

Learning Go is a good way to improve our programming skills. It is interesting to know a very powerful language like this that who knows when we can use it.

Start learning Go

  • To begin with, it is highly recommended to follow the steps of the Tour de Go. In it, apart from the obvious first “Hello, World” we can know each of the components of language. They are around 70 interactive slides in which to practice the syntax and key concepts from the browser without worrying about any installation. In addition to play.golang.org where we find a complete terminal in our browser
  • After we have understood the language and definitely liked what we have to do is install it from official sources. We can use ‘hg update release’ or ‘hg update tip’ to get the new features and bugfixes.
  • The catalog of books on the language is not as extensive as in other languages, but it already has a bedside book written by Mark Summerfield, “Programming in GO” with more than four hundred pages and exercises oriented to version 1.0 of the Go language.
  • Last year’s Google I / O 2012 had a larger presence than this year. With four interesting videos in which we know in detail their concurrency patterns, the use of Go in production, a talk with the experts from the Go team or how they used it in Google Maps combined with App Engine.
  • As for documentation to use we have the Go Wiki with a lot of tips, GoPkgDoc with which we can auto-generate a very interesting web documentation.
  • If you already have some experience in Go you can continue immersing yourself in the different libraries such as go.crypto and go.net, go.image, go.text or go.exp.
  • As I have been recommending for some time, the Google+ communities for developers are growing more and more. So you can’t miss Go’s.

Via | 0xkarl Website | Go lang In Genbeta Dev | Introduction to the Go programming language