←back to thread

873 points belter | 1 comments | | HN request time: 0.223s | source
Show context
imjonse ◴[] No.42947407[source]
> ORMs are the devil in all languages and all implementations. Just write the damn SQL

It depends on what you're writing. I've seen enough projects writing raw SQL because of aversion to ORMs being bogged down in reinventing a lot of what ORMs offer. Like with other choices it is too often a premature optimization (for perf or DX) and a sign of prioritizing a sense of craftsmanship at the expense of the deliverables and the sanity of other team members.

replies(8): >>42947752 #>>42947978 #>>42948317 #>>42948504 #>>42953164 #>>42954817 #>>42956074 #>>42956308 #
1. snapetom ◴[] No.42954817[source]
> being bogged down in reinventing a lot of what ORMs offer.

There's a saying - if you hate ORMs and don't use them, eventually you're going to write your own ORM.