Hacker News new | ask | show | jobs
by weatherlite 1483 days ago
I'm currently doing both Rails and Go, it's just different worlds. I'm a Go noob so it's not a fair comparison but still - I did Django, Node, etc etc and Go is just miles behind anything productive.
2 comments

You are comparing a language to two complete frameworks and a runtime.

Go can be extremely productive but it's definitely not a great choice if you need to create a web app over a weekend.

RoR, Django etc have ready solutions for things like authorization\authentication, administration tools, oauth... Not to mention that 'framework' assumes some sort of contracts so that all thing build for the framework in question can talk to each other.

Go is a good choice if you need to build a custom solution for your needs. Not if you are looking for a set of building blocks you have to configure for your task.

Am using Chi and GORM for what it's worth.
I also like to use Chi and don't use any query builders (except for one service I guess) or ORMs.
I did Go for around a year and found I'm not its target audience. I need to build database-backed web apps quickly and, while possible in Go, it wasn't easy. Rails is a dream in comparison for that purpose. I experimented with many of the Go web frameworks, but it felt very much like a square peg in a round hole.

I really liked Go for what it was, but it wasn't the right fit for my set of problems.

Ah yes indeed, I should have mentioned the company is mostly a standard CRUD web app. Sure - Go's advantage is the services weigh less and are able to handle more - but that is such an insignificant advantage compared to the human cost of developing and maintaining it (compared to Rails) imo.

It might have been different if I needed something more low level - though in that case one can use C/C++.