Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What if your SQL is your data model? I believe object-oriented design is forcing us to do a lot of duplication for very little gains, just like it did on game design and the industry started moving towards data-oriented design and entity-component system.

The sooner we move away from the big lie that is DDD, the more productive we can be.



I think if sql is your data model, then it’s a good case for a query builder.

But at my company, our in house app is written using django but treats the django model asan interface to elasticsearch, Postgres, and redis.

The django model is sub optimal for sql, but it’s a good base for interacting with the system as a whole.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: