Federico Cargnelutti

Simple is better than complex. Complex is better than complicated. | @fedecarg

Kenneth Downs: Why I do not use ORM

with 4 comments

A thorough knowledge of database behaviour tends to lead a person away from ORM. First off, the two basic premises of ORM are factually incorrect: One, that there is some native incompatibility between databases and code, and two, that all the world must be handled in objects. These two misconceptions themselves might be excusable if they turned out to be harmless, but they are far from harmless. They promote a wilful ignorance of actual wise database use, and in so doing are bound to generate methods that are inefficient at best and horrible at worst.

Kenneth Downs: Why I do not use ORM


Written by Federico

August 25, 2008 at 1:24 pm

4 Responses

Subscribe to comments with RSS.

  1. The incompatibility is not necessarily between databases and code, but more specifically between the Domain Model pattern and database tables. If you’re not using a domain model, there’s no reason for an ORM.

    Alvaro Carrasco

    August 25, 2008 at 4:39 pm

  2. Hi Alvaro, I’m reading the documentation of Outlet. Looks good, well done.

    Federico

    August 25, 2008 at 9:58 pm

  3. Hey Federico, all you (Kenneth) say is correct, but you are omitting the fact that ORM increases productivity A LOT. I think that’s the reason of the massive adoption and it’s one of the reasons i use it.
    Anyway, nice review.

    Leo

    September 5, 2008 at 9:02 pm

  4. True, it does increase productivity.

    Federico

    September 7, 2008 at 2:59 pm


Leave a Reply