Member-only story

Why Go Language Is Becoming So Popular?

Tom Smykowski
3 min readNov 7, 2022

--

Go was designed in 2007 thanks to Robert Griesemer, Rob Pike and Ken Thompson. After fifteen years it made it through to the mainstream of programming languages.

In that time a lot of other languages were developed as well. So why in spite of ups and downs developers and companies consistently choose Go over C, C++, Java, Javascript and Python?

Go language is open source, and strongly typed. But it’s not the main selling point of Go. There are other, more important reasons.

Go Is Concurrent By Design

When I first learned about goroutines and channels it immediately clicked. The way concurrency is handled by Go feels so natural, I wondered why other don’t use the same method.

To call a function asynchronously you just prepend it with a go keyword:

In the example above, I am creating a goroutine with hello and world function. Then I am printing “I say, “.

Because goroutines are waiting for one and two seconds, “Hello” and “World” are displayed after the first phrase, and in a correct order.

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

🚀 Senior/Lead Frontend Engineer | Angular · Vue.js · React | Design Systems, UI/UX | Looking for a new project! 📩 contact@tomasz-smykowski.com

Responses (4)