2 ms·
> ORMs are more detriment than benefit The author mentions Hibernate and SQLAlchemy, which are both DataMapper ORMs. But what about Active Record? It's true th
by chillacy 10y ago
> ORMs are more detriment than benefit
The author mentions Hibernate and SQLAlchemy, which are both DataMapper ORMs. But what about Active Record? It's true that AR will provide even more abstraction and distance from the database, but it also provides a lot more convenience, which for me in small CRUD projects (as most are) has been worth the downsides.
And as another posted mentioned, you can always optimize by replacing slow AR queries with custom SQL ones, and restructuring your database as your project scales.