Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been working with Go for about 6 months now and I'm in love with Go. I find it simple, easy and fun to write in.


I dont know where you come from, language-wise, but do you think one can make a nice transition if they are used to Ruby and JS? I want to experiment building a simple web server and thought maybe I should use Go.

Specifically, what was it that convinced you that Go is "fun to write in"? Thats mostly what I care about too.


If you're coming from Ruby, you'll feel right at home, perhaps less so if you're coming from JS. What I found surprising and fun about Go is just how similar it is to scripting languages in style, and how much baggage it drops from C (header files, explicit types, pointer arithmetic etc).

The lack of header files, clear and simple syntax, minimal language core, and predictable standard library all combine to make it feel very like a compiled Ruby, though obviously there are differences. The main differences coming from a dynamic background are the type system, interfaces, imports and packages (no circular imports), and the lack of dynamic loading - everything is loaded at compile time. Interfaces feel a little like duck typing with checks on whether a type really does quack like a duck at compile time!

If you mean writing a web app, it's not really as mature as other ecosystems in terms of support for this, but would be great for a smaller, minimal web-app, if you mean writing a web server from scratch, go is a great place to start, and even has a good example for you to look at in the built-in server:

http://golang.org/src/pkg/net/http/server.go


Yes, I come from Ruby & JS world and before that I use to work with VB.net. I had not problems picking up Go. The hardest part of Go to understand was the implementation of interfaces.

Best thing I like about Go is the error handling, its great for defensive programming (which help as I write a lot of service applications).




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: