DEV Community

Elangovan
Elangovan

Posted on

.Net to Go

Willing to learn Go for a developer, who is working in .net technologies without knowledge of any scripting languages like Javascript,angular, type script.
Is that good idea?

Top comments (4)

Collapse
 
rhymes profile image
rhymes

Hi Elangovan, are you asking if as a .NET developer you can learn Go? Sure, why not?

Go is cross platform, compiled to binary code and typed with a garbage collector. In a way is closer to C# than to JavaScript :)

I would suggest these resources to pick it up:

If you use Windows you can install the binary distribution from the official website, if you use macOS you're better off with brew install go, if you use Linux you can probably find Go in your distro's list of packages.

Have fun!

Collapse
 
elaa_zx profile image
Elangovan

What are all the Additional technologies i should learn along with GO

Collapse
 
rhymes profile image
rhymes

I think it depends on what you want to create. Go is mostly self contained and the standard library goes far.

The standard library contains various networking server code and among them you have a TLS 1.2 (TLS 1.3 is coming in Go 1.12) HTTP 1.1 and 2.0 production ready web server. JSON parsing, basic routing and templating are builtin as well. Logging is not. Time support in the standard library is great. You can use pkg/errors to wrap the default error handling with simple primitives.

Usually people that are building web apps add at least to it a library like gorilla/mux as a router/dispatcher, logrus or zap for structured logging and secure for standard HTTP security related headers.

You can use builtin support to connect to DBs plus a driver for your DB of choice, a SQL builder like squirrel and migrate for schema migrations.

You'll find anything else through a search engine or awesome-go.

Collapse
 
vinceramces profile image
Vince Ramces Oliveros

I don't know if Go is a scripting language(Go is a compiled language). As long as you know the era of C language, then it's easy to transition to go.

It's not hard to learn go, you just find the syntax weird, and I get used to it.