Hacker News new | ask | show | jobs
by samuel 6048 days ago
Personally I don't get ORM's. May be it's because the only I have had to deal with was Hibernate, and seemed to me as an innecesary layer of complexity and bloat, and objects and relations sometimes doesn't map nicely. If you want to persist objects, use an object datastore in the first place, not a relational one.

And, what's wrong with SQL? It's simple, powerful, widely known and deployed, and cool(declarative programming, dude!).

I've read a some introductory examples about distinct ORM's and just don't get it. Where's the gain? Apart from database independence(which I don't think it's even desirable in most cases, may be Tom Kyte's books have brainwashed me irremediably), can't see one. How an ORM makes you more productive?

1 comments

The people who hate SQL don't know about any of the cool stuff it can do as they've only ever used MySQL's very basic implementation.