Hacker News new | ask | show | jobs
by aikah 4071 days ago
> Rails works great for things like authentication, creating a nice and maintainable UI, handling billing code, sending emails, managing the database schema, and all the web related stuff.

Nothing that Go cannot do. The only difference between Go/web and Rails is the maturity of the libraries.

Of course Go libs are way less mature for various "business tasks".

3 comments

You can do that in Go, yet like pointed out in [1], it tends to take more effort (well, this has been my experience at least).

But well: do what works for you, really :-) I'm not commenting to persuade you, I'm just sharing one data point.

[1] http://blog.gopheracademy.com/advent-2014/atlas/

Did you write Gopher academy (fellow french?) ?
No I didn't! Yet I felt exactly the same. Sorry if my message was confusing :-) (I'm french indeed).
Everything can be done in Go, sure, but at least the current direction of Go is to provide small reusable libraries, not frameworks. And there's a huge difference between the two.

I don't like frameworks like RoR or ASP.NET MVC. Too much magic. Things break in weird places. They're slow. But they give programmers some kind of safe, happy sandbox that hides the "scary" web.

It's a whole different philosophy I think. Almost every week I see a new rubyists on golang-nuts looking for the "RoR equivalent" in Go-land.

It's also 'nothing that C cannot do', but we still don't generally find it being used for such!

I've tried writing web front-ends in Go. It's a fiddly pain in the arse, and the benefits aren't really obvious. If it works for your situation then use it, but IME they're targeted at different problem domains.