Hacker News new | ask | show | jobs
by reificator 2514 days ago
> Of course it doesn't help that the go community is convinced that ORMs are evil (which is just posthoc rationalization for being unable to write one).

Yep. I held this opinion before Go came out, only because I couldn't write an ORM in Go.

1 comments

i said the go community - not the developer community. you couldn't have had that opinion as a go user before go came out.
But I do still hold that opinion now as a go user. I'm saying I didn't develop it as a result of not being able to write/use an ORM.

Your wholesale dismissal of all go users that don't use ORMs is what I object to. There are a laundry list of reasons to not use them, simplicity being the largest in my eyes. If you're working with simple queries on a small number of tables/views/etc, there's really no reason to bring in a big heavy ORM.

As your usage scales that choice might change, but until then just do the simplest thing that has correct behavior and minimal magic involved.