Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 4,225 posts.

Databases & Data
Any year
843

ORM is an anti-pattern

ORM looks great early in a project but breaks down as complexity grows, forcing you to learn SQL anyway. Relations aren't objects. Either use NoSQL for object-like data or write a model layer with real SQL. ORM's abstraction is leaky, its efficiency poor, and the alternatives are better.