4 ms·
If only there were a mapping to make a relation in my data store out of an object in my language. ActiveRecord seems like a local maximum, and I'd be very curi
by lsb 16y ago
If only there were a mapping to make a relation in my data store out of an object in my language.
ActiveRecord seems like a local maximum, and I'd be very curious to see what comes up in the next decade.
- arohner 16y agoI've written an ORM for clojure (unreleased). It's 1k LoC, which is huge in clojure. Let me tell you, I'm sick of writing ORMs, I'm sick of using buggy, abstraction-leaking ORMs. I'm sick of the need for ORMs. Relational DBs should provide ORM as a native, first-class abstraction. The fact that every programming language has ORMs, and that people are starting to adopt Mongo over say, postgres purely because it doesn't need ORM and has a nicer query interface is telling. Relational DBs need to get with the times.
- j_baker 16y agoYou mean a local maximum for clojure or programming in general? Because ORMs that use the Data Mapping pattern (like SQLAlchemy or Hibernate) are better in some cases where ActiveRecord is a bit simplistic.