DEV Community

What do you need to learn Golang

Mairelin Roque Riely on November 26, 2018

I’ve been for years a Java developer, but for the last 2 years I have developed a huge interest in Golang programing language, and most of the time...
Collapse
 
bbarbour profile image
Brian Barbour

What are the main uses or types of applications people write with it?

For example Javascript is mostly web based client side and server side apps. Python is notorious for being multi-purpose/data-science/server code. C# is aligned with Windows, Unity, and .NET. So on and so forth...

Just curious :)

Collapse
 
mairelin profile image
Mairelin Roque Riely

Hello, Go is for the backend, and is very useful for applications that manage a huge amount of request and transactions because of the ability of managing the concurrency as default feature of the language.

Collapse
 
bbarbour profile image
Brian Barbour

Nice! Maybe I'll try it out. I imagine they have a library like Express in Node?

Collapse
 
davidwhit profile image
DavidWhit

I started learning Go and still like it. Though I've been swoon to the likes of kotlin. It has native bindings if you want. Swap go functions for coroutines. Channels are in experimental. You also have closures and immutables. So if you're heavy Java why Go vs Kotlin?

My biggest gripe and complement are the same it was designed with ease in mind but that leads to a lot of imparative code and a lot of boiler plate and 2.0 generics and different error handling a lot want and others dont. I do like Go but I've seen kotlin and Id rather do that to each there own.

Collapse
 
mairelin profile image
Mairelin Roque Riely • Edited

Hi David, I appreciate your comment, I haven't use Kotlin at all by the time. I saw Go at first and feel very comfortable with what they bring and experiment how I can get good results, if the code is well done. I would have to test a Kotlin to be able to compare it with Go(And now I will add it to my research list). But anyway, I think, is not about the language anymore, is more about how and why we choose it. Maybe Kotlin could be better for some specific things based on the languages features, but this desition has to be made thinking in the purpose of the software.

Collapse
 
ondrejs profile image
Ondrej

Nice thing about Go is that it is really simple and it does not force principles of OOP by default. If you have learned C, Go (or Rust if you want something more difficult to comprehend) should be your next step.