Hacker News new | past | comments | ask | show | jobs | submit login

I think the ORM (with Entities) is an anti-pattern. It makes simple queries slightly simpler, and hard queries impossible to express: hence you will need a way to express hard queries.

Also Entities are usually mutable.

What clean architecture prescribes here VERY bad for performance. Some of your business logic will dictate how you write your queries if you care for performance.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: